Class JobStatus
java.lang.Object
com.primavera.integration.client.bo.enm.EnumType
com.primavera.integration.client.bo.enm.JobStatus
Job status enumerations are used with the job manager when getting the status of an asynchronous
job. Valid values are 'Pending', 'Running', 'Complete', 'Failed', or 'Cancelled'.
To use an enumeration in a where clause, make sure you use the internal database value. This can be retrieved from a particular enum instance by calling getValue().
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGets the description of this JobStatus instancestatic String[]Gets an array of all descriptions for this enumerationstatic String[]Gets an array of all internal values for this enumerationstatic JobStatusgetJobStatus(int iJobStatus) Gets an instance of JobStatus based on the integer value specified.static JobStatusgetJobStatus(String sJobStatus) Gets an instance of JobStatus based on the String value specified.getValue()Gets the internal value of this JobStatus instancetoString()Returns a string representation of the object, which is the same as the description returned by the getDescription() method
-
Field Details
-
NULL
-
PENDING
-
RUNNING
-
COMPLETE
-
FAILED
-
CANCELLED
-
DELEGATED
-
COMPLETED_WITH_ERRORS
-
-
Method Details
-
toString
Returns a string representation of the object, which is the same as the description returned by the getDescription() method -
getValue
Gets the internal value of this JobStatus instance -
getDescription
Gets the description of this JobStatus instance- Specified by:
getDescriptionin classEnumType- Returns:
- String the description
-
getJobStatus
Gets an instance of JobStatus based on the String value specified.- Parameters:
sJobStatus- the internal value or description- Returns:
- JobStatus the unique JobStatus instance
-
getJobStatus
Gets an instance of JobStatus based on the integer value specified.- Parameters:
iJobStatus- an integer representing a particular value of this class. This value is also used when exporting to XML.- Returns:
- JobStatus the unique JobStatus instance
-
getEnumValues
Gets an array of all internal values for this enumeration- Returns:
- String[] an array of all internal values
-
getEnumDescriptions
Gets an array of all descriptions for this enumeration- Returns:
- String[] an array of all descriptions
-