Class JobInfo


  • public class JobInfo
    extends Object
    Information about a job (the name and ID).

    A JobInfo can be used to obtain the status of a job.

    Since:
    1.0.0
    Version:
    2.0.0
    See Also:
    IJESCommandProvider.getJobStatus(JobInfo)
    Restriction:
    This class is not intended to be extended by clients.
    • Constructor Detail

      • JobInfo

        public JobInfo​(String jobName,
                       String jobID)
        Constructs a job information object using the specified job name and job ID.

        Job name and job ID are considered invalid if they are not between 1 and 8 characters in length.

        Parameters:
        jobName - the job name
        jobID - the job ID
        Throws:
        IllegalArgumentException - if jobName is null or invalid, or if jobID is null or invalid
        Since:
        1.0.0
    • Method Detail

      • getJobName

        public String getJobName()
        Returns the name of the job.
        Returns:
        the job name
        Since:
        1.0.0
      • getJobID

        public String getJobID()
        Returns the ID of the job.
        Returns:
        the job ID
        Since:
        1.0.0