Package com.sas.lsaf.execution.job
Class JobSubmission
java.lang.Object
com.sas.lsaf.execution.job.JobSubmission
- All Implemented Interfaces:
Serializable
The class that represents the job submission object that is used as a token to retrieve the status of a submitted
job.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe types of job submissions. -
Constructor Summary
ConstructorsConstructorDescriptionJobSubmission(String id, JobSubmission.JobSubmissionType submissionType, String jobId, String jobPath, String jobVersion, String sessionId, JobSubmissionStatus jobSubmissionStatus, String submittedBy, Date submitted, Date completed, String jobOwner, String runAsUser) The constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the date on which the job was completed.getId()Gets the identifier of the job submission.getJobId()Gets the identifier of the job submitted.Gets the userid of the job owner.Gets the job path to the job submission.Gets the job details and submission status for the job submission.Gets the job version of the job submission.Gets the userid of the user the job was run as.Gets the identifier of the session that was created for the job submission.Gets the submission type of the job submission.Gets the date on which the job was submitted.Gets the userId of the user who submitted the job.inthashCode()toString()
-
Constructor Details
-
JobSubmission
public JobSubmission(String id, JobSubmission.JobSubmissionType submissionType, String jobId, String jobPath, String jobVersion, String sessionId, JobSubmissionStatus jobSubmissionStatus, String submittedBy, Date submitted, Date completed, String jobOwner, String runAsUser) The constructor.- Parameters:
id- The identifier for the job submission.submissionType- The type of job submission.jobId- The identifier of the job submitted.jobPath- The path to the job submitted.jobVersion- The version of the job to submit.sessionId- The identifier of the session that is generated for the job submission.jobSubmissionStatus- The job details and submission status for the job submission.submittedBy- The identifier of the user who submitted the job.submitted- The date on which the job was submitted.completed- The date on which the job was completed.jobOwner- The userid of the job owner.runAsUser- The userid of the user that the job was run as.
-
-
Method Details
-
getId
Gets the identifier of the job submission.- Returns:
- The identifier.
-
getJobId
Gets the identifier of the job submitted.- Returns:
- The identifier.
-
getJobPath
Gets the job path to the job submission.- Returns:
- The job path.
-
getJobVersion
Gets the job version of the job submission.- Returns:
- The job version of the job submission.
-
getSubmissionType
Gets the submission type of the job submission.- Returns:
- The submission type.
-
getSessionId
Gets the identifier of the session that was created for the job submission.- Returns:
- The identifier of the session.
-
getSubmittedBy
Gets the userId of the user who submitted the job.- Returns:
- The userId of the user.
-
getSubmitted
Gets the date on which the job was submitted.- Returns:
- The date.
-
getCompleted
Gets the date on which the job was completed.- Returns:
- The date.
-
getJobSubmissionStatus
Gets the job details and submission status for the job submission.- Returns:
- The job details and submission status.
-
getJobOwner
Gets the userid of the job owner.- Returns:
- The userid of the job owner.
-
getRunAsUser
Gets the userid of the user the job was run as.- Returns:
- The userid of the user.
-
hashCode
public int hashCode() -
equals
-
toString
-