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
JobInfocan 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 StringgetJobID()Returns the ID of the job.StringgetJobName()Returns the name of the job.StringtoString()
-
-
-
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- ifjobNameisnullor invalid, or ifjobIDisnullor invalid- Since:
- 1.0.0
-
-