Package com.sas.lsaf.execution.job
Class JobProgram
java.lang.Object
com.sas.lsaf.execution.job.JobProgram
- All Implemented Interfaces:
Serializable
The class that represents a way to specify the program file to use in a job submission.
- Since:
- 2.4
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.JobProgram(String path) Constructor.JobProgram(String path, String version) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetPath()Gets the path to the program file.Gets the version of the program file.inthashCode()voidSets the path to the program file.voidsetVersion(String version) Sets the version of the program file to use when submitting a published job.toString()
-
Constructor Details
-
JobProgram
public JobProgram()Constructor. -
JobProgram
Constructor.- Parameters:
path- The path to the program file to use in a job.
-
JobProgram
Constructor.- Parameters:
path- The path to the program file to use in a job.version- The version of the program file to use when submitting a published job.
-
-
Method Details
-
getPath
Gets the path to the program file.- Returns:
- The path to the program file.
-
setPath
Sets the path to the program file.- Parameters:
path- The path to the program file.
-
getVersion
Gets the version of the program file.- Returns:
- The version of the program. The default is the latest version (null).
-
setVersion
Sets the version of the program file to use when submitting a published job.- Parameters:
version- The version of the program file.
-
hashCode
public int hashCode() -
equals
-
toString
-