Package com.sas.lsaf.execution.job
Class JobPublishSetupFile
- java.lang.Object
-
- com.sas.lsaf.execution.job.JobPublishSetupItem
-
- com.sas.lsaf.execution.job.JobPublishSetupFile
-
- All Implemented Interfaces:
java.io.Serializable
public class JobPublishSetupFile extends JobPublishSetupItem
The class that represents the files to transfer for use in a published job submission.- Since:
- 2.4
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JobPublishSetupFile(java.lang.String path)
Constructor.JobPublishSetupFile(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 for the published job.int
hashCode()
void
setVersion(java.lang.String version)
Sets the version of the file to transfer for the published job.java.lang.String
toString()
-
Methods inherited from class com.sas.lsaf.execution.job.JobPublishSetupItem
getPath
-
-
-
-
Constructor Detail
-
JobPublishSetupFile
public JobPublishSetupFile(java.lang.String path)
Constructor.- Parameters:
path
- The path to the file to transfer for the published job.
-
JobPublishSetupFile
public JobPublishSetupFile(java.lang.String path, java.lang.String version)
Constructor.- Parameters:
path
- The path to the file to transfer for the published job.version
- The version of the file.
-
-
Method Detail
-
getVersion
public java.lang.String getVersion()
Gets the version of the file to transfer for the published job. If null, the latest version is transferred.- Returns:
- The version of the file.
-
setVersion
public void setVersion(java.lang.String version)
Sets the version of the file to transfer for the published job. If null, the latest version will be transferred.- Parameters:
version
- The version of the file to transfer for the published job.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classJobPublishSetupItem
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classJobPublishSetupItem
-
toString
public java.lang.String toString()
- Overrides:
toString
in classJobPublishSetupItem
-
-