Package zowe.client.sdk.zosjobs.model
Class Job
- java.lang.Object
-
- zowe.client.sdk.zosjobs.model.Job
-
public class Job extends Object
Standard job response document that represents the attributes and status of a z/OS batch job- Version:
- 5.0
- Author:
- Frank Giordano
-
-
Constructor Summary
Constructors Constructor Description Job(String id, String name, String subSystem, String owner, String status, String type, String classs, String retCode, JobStepData[] stepData, String url, String filesUrl, String jobCorrelator, Long phase, String phaseName, String execSystem, String execMember, String execSubmitted, String execStarted, String execEnded, String reasonNotRunning)Job constructor for Jackson JSON parsing.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClasss()Retrieve classs specifiedStringgetExecEnded()Retrieve time when job execution endedStringgetExecMember()Retrieve system member name on which the job ranStringgetExecStarted()Retrieve time when job execution startedStringgetExecSubmitted()Retrieve time when the job was submittedStringgetExecSystem()Retrieve system name on which the job ranStringgetFilesUrl()Retrieve filesUrl specifiedStringgetJobCorrelator()Retrieve jobCorrelator specifiedStringgetJobId()Retrieve jobId specifiedStringgetJobName()Retrieve jobName specifiedStringgetOwner()Retrieve an owner specifiedLonggetPhase()Retrieve phase specifiedStringgetPhaseName()Retrieve phaseName specifiedStringgetReasonNotRunning()Retrieve reason text why the job is not runningStringgetRetCode()Retrieve retCode specifiedStringgetStatus()Retrieve status specifiedJobStepData[]getStepData()Retrieve stepData specifiedStringgetSubSystem()Retrieve subSystem specifiedStringgetType()Retrieve type specifiedStringgetUrl()Retrieve url specifiedStringtoString()Return string value representing a Job object
-
-
-
Constructor Detail
-
Job
public Job(String id, String name, String subSystem, String owner, String status, String type, String classs, String retCode, JobStepData[] stepData, String url, String filesUrl, String jobCorrelator, Long phase, String phaseName, String execSystem, String execMember, String execSubmitted, String execStarted, String execEnded, String reasonNotRunning)
Job constructor for Jackson JSON parsing.- Parameters:
id- job id valuename- job name valuesubSystem- JES subsystemowner- job ownerstatus- job statustype- job typeclasss- job classretCode- job return codestepData- array of step dataurl- job URLfilesUrl- job spool files URLjobCorrelator- job correlatorphase- job phasephaseName- job phase nameexecSystem- z/OS system name on which job ranexecMember- member name of the z/OS systemexecSubmitted- time when the job was submittedexecStarted- time when job execution startedexecEnded- time when job execution endedreasonNotRunning- reason job is not running
-
-
Method Detail
-
getClasss
public String getClasss()
Retrieve classs specified- Returns:
- classs value
-
getFilesUrl
public String getFilesUrl()
Retrieve filesUrl specified- Returns:
- filesUrl value
-
getJobCorrelator
public String getJobCorrelator()
Retrieve jobCorrelator specified- Returns:
- jobCorrelator value
-
getJobId
public String getJobId()
Retrieve jobId specified- Returns:
- jobId value
-
getJobName
public String getJobName()
Retrieve jobName specified- Returns:
- jobName value
-
getOwner
public String getOwner()
Retrieve an owner specified- Returns:
- owner value
-
getPhase
public Long getPhase()
Retrieve phase specified- Returns:
- phase value
-
getPhaseName
public String getPhaseName()
Retrieve phaseName specified- Returns:
- phaseName value
-
getRetCode
public String getRetCode()
Retrieve retCode specified- Returns:
- retCode value
-
getStatus
public String getStatus()
Retrieve status specified- Returns:
- status value
-
getStepData
public JobStepData[] getStepData()
Retrieve stepData specified- Returns:
- stepData value
-
getSubSystem
public String getSubSystem()
Retrieve subSystem specified- Returns:
- subSystem value
-
getType
public String getType()
Retrieve type specified- Returns:
- type value
-
getUrl
public String getUrl()
Retrieve url specified- Returns:
- url value
-
getExecSystem
public String getExecSystem()
Retrieve system name on which the job ran- Returns:
- system name
-
getExecMember
public String getExecMember()
Retrieve system member name on which the job ran- Returns:
- member name
-
getExecSubmitted
public String getExecSubmitted()
Retrieve time when the job was submitted- Returns:
- time when the job was submitted
-
getExecStarted
public String getExecStarted()
Retrieve time when job execution started- Returns:
- time when job execution started
-
getExecEnded
public String getExecEnded()
Retrieve time when job execution ended- Returns:
- time when job execution ended
-
getReasonNotRunning
public String getReasonNotRunning()
Retrieve reason text why the job is not running- Returns:
- reason text why the job is not running
-
-