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)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getCompleted()
Gets the date the job was completed.
|
String |
getId()
Gets the id of this job submission.
|
String |
getJobPath()
Get the job path of this job submission.
|
JobSubmissionStatus |
getJobSubmissionStatus()
Gets the job details and submission status for this job submission.
|
String |
getJobVersion()
Gets the job version of this job submission.
|
String |
getRunAsUser()
Get the userid of the user the job was run as
|
String |
getSessionId()
Gets the id of the SAS session generated for this job submission.
|
JobSubmission.JobSubmissionType |
getSubmissionType()
Gets the submission type of this job submission.
|
Date |
getSubmitted()
Gets the date the job was submitted.
|
String |
getSubmittedBy()
Gets the userid 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
- id for this jobSubmissionsubmissionType
- the type of jobSubmissionjobPath
- the path of the job being submittedjobVersion
- the version of the job to submitsessionId
- id for the SAS session generated for this jobSubmissionjobSubmissionStatus
- the job details and submission status for this job submissionsubmittedBy
- the userid of the user who submitted the jobsubmitted
- the date the job was submittedcompleted
- the date the job was completedrunAsUser
- the userid of the user the job was run aspublic 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