Package com.sas.lsaf.execution.job
Class ManifestJob
java.lang.Object
com.sas.lsaf.execution.job.ManifestFileRef
com.sas.lsaf.execution.job.ManifestJob
- All Implemented Interfaces:
Serializable
The client representation of the job in a job manifest file.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionManifestJob(ManifestFile manifestFile, String owner, boolean runAsOwner, String description) 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
-
ManifestJob
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
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
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:
hashCodein classManifestFileRef
-
equals
- Overrides:
equalsin classManifestFileRef
-
toString
- Overrides:
toStringin classManifestFileRef
-