Package com.sas.lsaf.execution.job
Class Manifest
java.lang.Object
com.sas.lsaf.execution.job.Manifest
- All Implemented Interfaces:
Serializable
The client representation of a job manifest file.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe manifest type that indicates whether the job was run as a published job in the repository or if it was run in the workspace. -
Constructor Summary
ConstructorsConstructorDescriptionManifest(ManifestFile manifest, ManifestJob job, JobSubmission jobSubmission, List<ManifestProgram> programs, List<ManifestInput> inputs, List<ManifestOutput> outputs, OutputFileSpec outputFileSpec, List<JobParameter> parameters, Manifest.ManifestType manifestType, List<ManifestSystemFile> logs, List<ManifestSystemFile> results, ManifestMetrics manifestMetrics, Long totalExecutionTime, List<ManifestExternalReference> externalInputs, List<ManifestExternalReference> externalOutputs) It is not intended or recommended that the consumer of this API construct these objects. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the job inputs that are not found or are not accessible from the current user's repository or workspace.Gets the job outputs that are not found or are not accessible from the current user's repository or workspace.Gets the job inputs at the time of the job submission.getJob()Gets the job information at the time of the job submission.Gets the job submission details at the time of the job submission.getLogs()Gets the log files that were generated by the job submission.Gets the manifest information of the manifest file that is represented by this object.Gets the manifest metrics that were captured for the job submission.Gets the type of the manifest file for the job submission: run in the workspace or in the repository.Gets the specification to create the outputs at the time of the job submission.Gets the job outputs that were saved in the workspace or repository.Gets the parameters that were used at the time of the job submission.Gets the job programs at the time of the job submission.Gets the results files that were generated by the job submission.Gets the total execution time (in ms) for the job.inthashCode()toString()
-
Constructor Details
-
Manifest
public Manifest(ManifestFile manifest, ManifestJob job, JobSubmission jobSubmission, List<ManifestProgram> programs, List<ManifestInput> inputs, List<ManifestOutput> outputs, OutputFileSpec outputFileSpec, List<JobParameter> parameters, Manifest.ManifestType manifestType, List<ManifestSystemFile> logs, List<ManifestSystemFile> results, ManifestMetrics manifestMetrics, Long totalExecutionTime, List<ManifestExternalReference> externalInputs, List<ManifestExternalReference> externalOutputs) It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the manifest returned by the API.- Parameters:
manifest- The manifest information about the manifest file.job- The job information at the time of the job submission.jobSubmission- The job submission details of the job submission.programs- The programs at the time of the job submission.inputs- The inputs at the time of the job submission.outputs- The outputs that were generated at the time of the job submission.outputFileSpec- The specification to create the outputs at the time of the job submission.parameters- The parameters that were used at the time of the job submission.manifestType- The type of the manifest file for the job submission: run in the workspace or in the repository.logs- The log files that were generated by the job submission.results- The results files that were generated by the job submission.manifestMetrics- The manifest metrics that were captured for the job submission.totalExecutionTime- The total execution time (in ms) for the job.externalInputs- The job inputs that are not found or are not accessible from the current user's repository or workspace.externalOutputs- The job outputs that re not found or are not accessible from the current user's repository or workspace.
-
-
Method Details
-
getJobSubmission
Gets the job submission details at the time of the job submission.- Returns:
- The job submission details.
-
getInputs
Gets the job inputs at the time of the job submission.- Returns:
- The job inputs.
-
getExternalInputs
Gets the job inputs that are not found or are not accessible from the current user's repository or workspace.- Returns:
- The job inputs that are not found or are not accessible from the current user's repository or workspace.
-
getOutputs
Gets the job outputs that were saved in the workspace or repository. These do not include external outputs that are not accessible from the workspace or repository. UsegetExternalOutputs()to get external outputs.Note: Other than log and result files, if the
referencing programis null, this indicates that the file location was defined as acheck-in locationon the job.- Returns:
- The job outputs that were saved in the workspace or repository.
-
getExternalOutputs
Gets the job outputs that are not found or are not accessible from the current user's repository or workspace.- Returns:
- The job outputs that are not found or are not accessible from the current user's repository or workspace.
-
getParameters
Gets the parameters that were used at the time of the job submission.- Returns:
- The parameters that were used.
-
getOutputFileSpec
Gets the specification to create the outputs at the time of the job submission.- Returns:
- The specification to create the outputs at the time of the job submission.
-
getManifestType
Gets the type of the manifest file for the job submission: run in the workspace or in the repository.- Returns:
- The type of the manifest file for the job submission: run in the workspace or repository.
-
getPrograms
Gets the job programs at the time of the job submission.- Returns:
- The job programs at the time of the job submission.
-
getLogs
Gets the log files that were generated by the job submission.- Returns:
- The log files.
-
getResults
Gets the results files that were generated by the job submission.- Returns:
- The results files.
-
getManifest
Gets the manifest information of the manifest file that is represented by this object.- Returns:
- The manifest information of the manifest file that is represented by this object.
-
getJob
Gets the job information at the time of the job submission.- Returns:
- The job information.
-
getManifestMetrics
Gets the manifest metrics that were captured for the job submission.- Returns:
- The manifest metrics that were captured for the job submission.
-
getTotalExecutionTime
Gets the total execution time (in ms) for the job.- Returns:
- The total execution time (in ms).
-
hashCode
public int hashCode() -
equals
-
toString
-