Class JobInputFile

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

    • JobInputFile

      public JobInputFile()
      Constructor.
    • JobInputFile

      public JobInputFile(String path)
      Constructor.
      Parameters:
      path - The path to the file to transfer when submitting a published job.
    • JobInputFile

      public JobInputFile(String path, 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 Details

    • getVersion

      public 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(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.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class JobInput
    • equals

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

      public String toString()
      Overrides:
      toString in class JobInput