Class Manifest

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

public class Manifest extends Object implements Serializable
The client representation of a job manifest file.
See Also:
  • 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

      public JobSubmission getJobSubmission()
      Gets the job submission details at the time of the job submission.
      Returns:
      The job submission details.
    • getInputs

      public List<ManifestInput> getInputs()
      Gets the job inputs at the time of the job submission.
      Returns:
      The job inputs.
    • getExternalInputs

      public List<ManifestExternalReference> 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

      public List<ManifestOutput> 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. Use getExternalOutputs() to get external outputs.

      Note: Other than log and result files, if the referencing program is null, this indicates that the file location was defined as a check-in location on the job.

      Returns:
      The job outputs that were saved in the workspace or repository.
    • getExternalOutputs

      public List<ManifestExternalReference> 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

      public List<JobParameter> getParameters()
      Gets the parameters that were used at the time of the job submission.
      Returns:
      The parameters that were used.
    • getOutputFileSpec

      public OutputFileSpec 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

      public Manifest.ManifestType 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

      public List<ManifestProgram> getPrograms()
      Gets the job programs at the time of the job submission.
      Returns:
      The job programs at the time of the job submission.
    • getLogs

      public List<ManifestSystemFile> getLogs()
      Gets the log files that were generated by the job submission.
      Returns:
      The log files.
    • getResults

      public List<ManifestSystemFile> getResults()
      Gets the results files that were generated by the job submission.
      Returns:
      The results files.
    • getManifest

      public ManifestFile 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

      public ManifestJob getJob()
      Gets the job information at the time of the job submission.
      Returns:
      The job information.
    • getManifestMetrics

      public ManifestMetrics getManifestMetrics()
      Gets the manifest metrics that were captured for the job submission.
      Returns:
      The manifest metrics that were captured for the job submission.
    • getTotalExecutionTime

      public Long getTotalExecutionTime()
      Gets the total execution time (in ms) for the job.
      Returns:
      The total execution time (in ms).
    • 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