public enum UwsStage extends Enum<UwsStage>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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 are declared.
|
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
public static 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 nameNullPointerException
- if the argument is nullpublic Collection<String> getPhaseList()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.