|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uk.org.ogsadai.engine.Status
Class representing various status of a request as it is processed by the engine.
| Field Summary | |
static Status |
COMPLETED
Processing of the request has completed |
static Status |
ERROR
Processing of the request has encountered an error |
static Status |
PROCESSING
Processing of the request is underway |
static Status |
TERMINATED
Processing of the request has been terminated before completion |
static Status |
UNSTARTED
Processing of the request has not started |
| Method Summary | |
boolean |
isFinished()
Returns true if the status indicates a finished state, where a finished status equals Status.COMPLETE,
Status.ERROR or Status.TERMINATED. |
boolean |
isStopped()
Returns true if the status indicates a stopped state, wherre a stopped state equals Status.ERROR or
Status.TERMINATED. |
boolean |
isUnfinished()
Returns true IFF the status indicates that the we are in a state that does not represent completion. |
boolean |
isUnstarted()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final Status UNSTARTED
public static final Status PROCESSING
public static final Status COMPLETED
public static final Status ERROR
public static final Status TERMINATED
| Method Detail |
public java.lang.String toString()
toString in class java.lang.Objectjava.lang.String.public boolean isStopped()
Status.ERROR or
Status.TERMINATED.
public boolean isFinished()
Status.COMPLETE,
Status.ERROR or Status.TERMINATED.
public boolean isUnfinished()
true if we are unstarted or currently
processing.public boolean isUnstarted()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||