Class ManifestJob

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

public final class ManifestJob extends ManifestFileRef
The client representation of the job in a job manifest file.
See Also:
  • Constructor Details

    • ManifestJob

      public ManifestJob(ManifestFile manifestFile, String owner, boolean runAsOwner, String description)
      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 the job submitted.
      owner - The userId of the owner of the job.
      runAsOwner - Indicates whether the job ran as the owner or the user who submitted the file for execution.
      description - The description of the job at the time of the job submission.
  • Method Details

    • getOwner

      public String getOwner()
      Gets the userId of the owner of the job.
      Returns:
      The userId.
    • isRunAsOwner

      public boolean isRunAsOwner()
      Gets whether the job runs as the owner or the user who submitted the file for execution.
      Returns:
      Whether the job runs as the owner or the user who submitted the file for execution.
    • getDescription

      public String getDescription()
      Gets the description of the job at the time of the job submission.
      Returns:
      The description of the job at the time of the job submission.
    • 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