|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<UwsStage>
uk.ac.starlink.vo.UwsStage
public enum UwsStage
Enum for categorising the stage of UWS processing. This effectively subdivides the various phases defined by UWS.
Enum Constant Summary | |
---|---|
FINISHED
Job has finished successfully or otherwise; will not progress further. |
|
ILLEGAL
Not a defined phase string. |
|
RUNNING
Job is progressing; should reach FINISHED stage eventually. |
|
UNKNOWN
UNKNOWN phase; may change in future. |
|
UNSTARTED
Job will not complete of its own accord; need to post RUN phase. |
Method Summary | |
---|---|
static UwsStage |
forPhase(String phase)
Returns the stage corresponding to a given UWS phase. |
Collection<String> |
getPhaseList()
Returns the phases which correspond to this stage. |
static UwsStage |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static UwsStage[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final UwsStage UNSTARTED
public static final UwsStage RUNNING
public static final UwsStage FINISHED
public static final UwsStage UNKNOWN
public static final UwsStage ILLEGAL
Method Detail |
---|
public static final UwsStage[] values()
for(UwsStage c : UwsStage.values()) System.out.println(c);
public static UwsStage valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic Collection<String> getPhaseList()
public static UwsStage forPhase(String phase)
phase
- UWS phase string
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |