Class JobProgram

java.lang.Object
com.sas.lsaf.execution.job.JobProgram
All Implemented Interfaces:
Serializable

public class JobProgram extends Object implements Serializable
The class that represents a way to specify the program file to use in a job submission.
Since:
2.4
See Also:
  • Constructor Details

    • JobProgram

      public JobProgram()
      Constructor.
    • JobProgram

      public JobProgram(String path)
      Constructor.
      Parameters:
      path - The path to the program file to use in a job.
    • JobProgram

      public JobProgram(String path, String version)
      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

      public String getPath()
      Gets the path to the program file.
      Returns:
      The path to the program file.
    • setPath

      public void setPath(String path)
      Sets the path to the program file.
      Parameters:
      path - The path to the program file.
    • getVersion

      public String getVersion()
      Gets the version of the program file.
      Returns:
      The version of the program. The default is the latest version (null).
    • setVersion

      public void setVersion(String version)
      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()
      Overrides:
      hashCode in class Object
    • equals

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

      public String toString()
      Overrides:
      toString in class Object