Public Types | |
enum | Code { UNDEF = 0, SUBMITTED, WAITING, READY, SCHEDULED, RUNNING, DONE, CLEARED, ABORTED, CANCELLED, UNKNOWN, PURGED, CODE_MAX } |
enum | Attr { ACL, CANCEL_REASON, CANCELLING, CE_NODE, CHILDREN, CHILDREN_HIST, CHILDREN_NUM, CHILDREN_STATES, CONDOR_ID, CONDOR_JDL, CPU_TIME, DESTINATION, DONE_CODE, EXIT_CODE, EXPECT_FROM, EXPECT_UPDATE, GLOBUS_ID, JDL, JOB_ID, JOBTYPE, LAST_UPDATE_TIME, LOCAL_ID, LOCATION, MATCHED_JDL, NETWORK_SERVER, OWNER, PARENT_JOB, REASON, RESUBMITTED, RSL, SEED, STATE_ENTER_TIME, STATE_ENTER_TIMES, SUBJOB_FAILED, USER_TAGS, ATTR_MAX } |
enum | { DONE_CODE_OK, DONE_CODE_FAILED, DONE_CODE_CANCELLED } |
enum | { JOBTYPE_SIMPLE, JOBTYPE_DAG } |
enum | AttrType { INT_T, STRING_T, TIMEVAL_T, BOOL_T, JOBID_T, INTLIST_T, STRLIST_T, TAGLIST_T, STSLIST_T } |
Public Member Functions | |
const std::string & | name (void) const |
String representation of the status code. | |
int | getValInt (Attr) const |
Retrieve integer attribute. | |
std::string | getValString (Attr) const |
Retrieve string attribute. | |
timeval | getValTime (Attr) const |
Retrieve time attribute. | |
const edg::workload::common::jobid::JobId | getValJobId (Attr) const |
Retrieve jobid attribute. | |
bool | getValBool (Attr) const |
Retrieve bool attribute. | |
const std::vector< int > | getValIntList (Attr) const |
Retrieve int list attribute. | |
const std::vector< std::string > | getValStringList (Attr) const |
Retrieve string list attribute. | |
const std::vector< std::pair< std::string, std::string > > | getValTagList (Attr) const |
Retrieve tag list attribute. | |
const std::vector< JobStatus > | getValJobStatusList (Attr) const |
Retrieve job status list attribute. | |
const std::string & | getAttrName (Attr) const |
Attribute name. | |
const std::vector< std::pair< Attr, AttrType > > & | getAttrs (void) const |
List of attributes and types valid for this instance. | |
JobStatus (void) | |
JobStatus (const JobStatus &) | |
JobStatus & | operator= (const JobStatus &) |
JobStatus (const edg_wll_JobStat &) | |
JobStatus & | operator= (const edg_wll_JobStat &) |
virtual | ~JobStatus () |
Public Attributes | |
Code | status |
Numeric status code. | |
Protected Member Functions | |
edg_wll_JobStat * | c_ptr (void) |
Friends | |
class | Job |
class | CountRef< JobStatus > |
The status is computed from a sequence of logged events
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Attribute name.
|
|
List of attributes and types valid for this instance.
|
|
Retrieve bool attribute.
|
|
Retrieve integer attribute.
|
|
Retrieve int list attribute.
|
|
Retrieve jobid attribute.
|
|
Retrieve job status list attribute.
|
|
Retrieve string attribute.
|
|
Retrieve string list attribute.
|
|
Retrieve tag list attribute.
|
|
Retrieve time attribute.
|
|
String representation of the status code.
|
|
|
|
|
|
|
|
|
|
Numeric status code.
|