Package com.compuware.api.topaz.jes
Class JobInfo
- java.lang.Object
-
- com.compuware.api.topaz.jes.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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getJobID()
Returns the ID of the job.String
getJobName()
Returns the name of the job.String
toString()
-
-
-
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 namejobID
- the job ID- Throws:
IllegalArgumentException
- ifjobName
isnull
or invalid, or ifjobID
isnull
or invalid- Since:
- 1.0.0
-
-