Class CarbonJobInfo
java.lang.Object
com.peterphi.carbon.type.XMLWrapper
com.peterphi.carbon.type.immutable.CarbonJobInfo
-
Field Summary
Fields inherited from class com.peterphi.carbon.type.XMLWrapper
element
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetError()
Return the error text (if present)getGUID()
getName()
int
getState()
Possible values (according to Carbon API 1.40.6 section 3.4.1:possible values can be: NEX_JOB_PREPARING, NEX_JOB_QUEUE, NEX_JOB_STARTING, NEX_JOB_COMPLETED, NEX_JOB_ERROR, etc.
Deprecated by Rhozet - use status field insteadPossible values (according to Carbon API 1.40.6 section 3.4.1:possible values can be: Preparing, Queued, Starting, Started, Stopping, Stopped, Pausing, Paused, Resuming, Completed, Error and Invalid.
Methods inherited from class com.peterphi.carbon.type.XMLWrapper
getAttribute, getElement, getElement, setAttribute
-
Constructor Details
-
CarbonJobInfo
public CarbonJobInfo(org.jdom2.Element element)
-
-
Method Details
-
getName
-
getGUID
-
getState
Possible values (according to Carbon API 1.40.6 section 3.4.1:possible values can be: NEX_JOB_PREPARING, NEX_JOB_QUEUE, NEX_JOB_STARTING, NEX_JOB_COMPLETED, NEX_JOB_ERROR, etc.
Deprecated by Rhozet - use status field instead- Returns:
-
getStatus
Possible values (according to Carbon API 1.40.6 section 3.4.1:possible values can be: Preparing, Queued, Starting, Started, Stopping, Stopped, Pausing, Paused, Resuming, Completed, Error and Invalid.
- Returns:
-
getProgress
public int getProgress() -
getError
Return the error text (if present)- Returns:
-