Package models.common
Enum ComponentResult.ComponentState
- java.lang.Object
-
- java.lang.Enum<ComponentResult.ComponentState>
-
- models.common.ComponentResult.ComponentState
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ComponentResult.ComponentState>
- Enclosing class:
- ComponentResult
public static enum ComponentResult.ComponentState extends java.lang.Enum<ComponentResult.ComponentState>
State of this component run (it actually should be called ComponentResultState)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORTEDDATA_RETRIEVEDFAILFINISHEDRELOADEDRESULTDATA_POSTEDSTARTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringallStatesAsString()static ComponentResult.ComponentStatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ComponentResult.ComponentState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STARTED
public static final ComponentResult.ComponentState STARTED
-
DATA_RETRIEVED
public static final ComponentResult.ComponentState DATA_RETRIEVED
-
RESULTDATA_POSTED
public static final ComponentResult.ComponentState RESULTDATA_POSTED
-
FINISHED
public static final ComponentResult.ComponentState FINISHED
-
RELOADED
public static final ComponentResult.ComponentState RELOADED
-
ABORTED
public static final ComponentResult.ComponentState ABORTED
-
FAIL
public static final ComponentResult.ComponentState FAIL
-
-
Method Detail
-
values
public static ComponentResult.ComponentState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ComponentResult.ComponentState c : ComponentResult.ComponentState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ComponentResult.ComponentState valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
allStatesAsString
public static java.lang.String allStatesAsString()
-
-