Package com.sas.lsaf.execution.job
Class ManifestProgram
java.lang.Object
com.sas.lsaf.execution.job.ManifestFileRef
com.sas.lsaf.execution.job.ManifestProgram
- All Implemented Interfaces:
Serializable
The client representation of a program file that is in a job manifest file.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionManifestProgram(ManifestFile manifestFile, ManifestProgram.ExecutionStatus executionStatus, Long executionTime, String executionStatusMessage) It is not intended or recommended that the consumer of this API construct these objects. -
Method Summary
Methods inherited from class com.sas.lsaf.execution.job.ManifestFileRef
getFile, getId, getLastModified, getName, getPath, getVersion, isRepositoryFile, isWorkspaceFile
-
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
Gets the detailed message about the execution status.- Returns:
- The detailed message.
-
getExecutionState
Gets the execution status of the program.- Returns:
- The execution status.
-
getExecutionTime
Gets the total execution time (in ms) for the program.- Returns:
- The total execution time (in ms).
-
hashCode
public int hashCode()- Overrides:
hashCodein classManifestFileRef
-
equals
- Overrides:
equalsin classManifestFileRef
-
toString
- Overrides:
toStringin classManifestFileRef
-