public class JobSubmission extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
JobSubmission.JobSubmissionType
The allowed types of job submissions.
|
Constructor and Description |
---|
JobSubmission(String id,
JobSubmission.JobSubmissionType submissionType,
String jobPath,
String jobVersion,
String sessionId,
JobSubmissionStatus jobSubmissionStatus,
String submittedBy,
Date submitted,
Date completed,
String runAsUser)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getCompleted()
Gets the date the job was completed.
|
String |
getId()
Gets the identifier of the job submission.
|
String |
getJobPath()
Gets the job path of the job submission.
|
JobSubmissionStatus |
getJobSubmissionStatus()
Gets the job details and submission status for the job submission.
|
String |
getJobVersion()
Gets the job version of the job submission.
|
String |
getRunAsUser()
Get the identifier of the user the job was run as.
|
String |
getSessionId()
Gets the identifier of the SAS session created for the job submission.
|
JobSubmission.JobSubmissionType |
getSubmissionType()
Gets the submission type of the job submission.
|
Date |
getSubmitted()
Gets the date the job was submitted.
|
String |
getSubmittedBy()
Gets the identifier of the user who submitted the job.
|
int |
hashCode() |
String |
toString() |
public JobSubmission(String id, JobSubmission.JobSubmissionType submissionType, String jobPath, String jobVersion, String sessionId, JobSubmissionStatus jobSubmissionStatus, String submittedBy, Date submitted, Date completed, String runAsUser)
id
- The identifier for the job submission.submissionType
- The type of job submission.jobPath
- The path of the job submitted.jobVersion
- The version of the job to submit.sessionId
- The identifier for the SAS session that is generated for the job submission.jobSubmissionStatus
- The job details and submission status for the job submission.submittedBy
- The user 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.runAsUser
- The identifier of the user the job was run as.public String getId()
public String getJobPath()
public String getJobVersion()
public JobSubmission.JobSubmissionType getSubmissionType()
public String getSessionId()
public String getSubmittedBy()
public Date getSubmitted()
public Date getCompleted()
public JobSubmissionStatus getJobSubmissionStatus()
public String getRunAsUser()
Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA