Class JobPublishSetupFile

java.lang.Object
com.sas.lsaf.execution.job.JobPublishSetupItem
com.sas.lsaf.execution.job.JobPublishSetupFile
All Implemented Interfaces:
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:
  • Constructor Details

    • JobPublishSetupFile

      public JobPublishSetupFile(String path)
      Constructor.
      Parameters:
      path - The path to the file to transfer for the published job.
    • JobPublishSetupFile

      public JobPublishSetupFile(String path, String version)
      Constructor.
      Parameters:
      path - The path to the file to transfer for the published job.
      version - The version of the file.
  • Method Details

    • getVersion

      public 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(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 class JobPublishSetupItem
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class JobPublishSetupItem
    • toString

      public String toString()
      Overrides:
      toString in class JobPublishSetupItem