Class ManifestProgram

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

public final class ManifestProgram extends ManifestFileRef
The client representation of a program file that is in a job manifest file.
See Also:
  • Constructor Details

    • ManifestProgram

      public ManifestProgram(ManifestFile manifestFile, ManifestProgram.ExecutionStatus executionStatus, Long executionTime, String executionStatusMessage)
      It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the manifest files returned by the API.
      Parameters:
      manifestFile - The file object that represents a program from the job submission.
      executionStatus - The execution status of the program.
      executionTime - The total execution time (in ms) for the program.
      executionStatusMessage - The detailed message about the execution status.
  • Method Details

    • getExecutionStatusMessage

      public String getExecutionStatusMessage()
      Gets the detailed message about the execution status.
      Returns:
      The detailed message.
    • getExecutionState

      public ManifestProgram.ExecutionStatus getExecutionState()
      Gets the execution status of the program.
      Returns:
      The execution status.
    • getExecutionTime

      public Long getExecutionTime()
      Gets the total execution time (in ms) for the program.
      Returns:
      The total execution time (in ms).
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class ManifestFileRef