Package com.sas.lsaf.execution.job
Class JobInputFile
- java.lang.Object
-
- com.sas.lsaf.execution.job.JobInput
-
- com.sas.lsaf.execution.job.JobInputFile
-
- All Implemented Interfaces:
java.io.Serializable
public class JobInputFile extends JobInput
The class that represents the file to transfer when submitting a published job. The version is null by default, which transfers the latest version if, the file is versioned.
Wildcards are supported.- Since:
- 2.4
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JobInputFile()
Constructor.JobInputFile(java.lang.String path)
Constructor.JobInputFile(java.lang.String path, java.lang.String version)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getVersion()
Gets the version of the file to transfer when submitting a published job.int
hashCode()
void
setVersion(java.lang.String version)
Sets the version of the file to transfer when submitting a published job.java.lang.String
toString()
-
-
-
Constructor Detail
-
JobInputFile
public JobInputFile()
Constructor.
-
JobInputFile
public JobInputFile(java.lang.String path)
Constructor.- Parameters:
path
- The path to the file to transfer when submitting a published job.
-
JobInputFile
public JobInputFile(java.lang.String path, java.lang.String version)
Constructor.- Parameters:
path
- The path to the file to transfer when submitting a published job.version
- The version of the file to transfer when submitting a published job. The default is the latest version (null).
-
-
Method Detail
-
getVersion
public java.lang.String getVersion()
Gets the version of the file to transfer when submitting a published job. The default (null) syncs the latest version.- Returns:
- The version of the file to transfer when submitting a published job. The default (null) syncs the latest version
-
setVersion
public void setVersion(java.lang.String version)
Sets the version of the file to transfer when submitting a published job. Specifying null (the default) syncs the latest version.- Parameters:
version
- The version of the file to transfer when submitting a published job. Specifying null (the default) syncs the latest version.
-
-