Class 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 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 value
        name - job name value
        subSystem - JES subsystem
        owner - job owner
        status - job status
        type - job type
        classs - job class
        retCode - job return code
        stepData - array of step data
        url - job URL
        filesUrl - job spool files URL
        jobCorrelator - job correlator
        phase - job phase
        phaseName - job phase name
        execSystem - z/OS system name on which job ran
        execMember - member name of the z/OS system
        execSubmitted - time when the job was submitted
        execStarted - time when job execution started
        execEnded - time when job execution ended
        reasonNotRunning - 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
      • toString

        public String toString()
        Return string value representing a Job object
        Overrides:
        toString in class Object
        Returns:
        string representation of Job