Enum Status.Code
- java.lang.Object
-
- java.lang.Enum<Status.Code>
-
- com.floragunn.signals.watch.result.Status.Code
-
- All Implemented Interfaces:
Serializable,Comparable<Status.Code>
- Enclosing class:
- Status
public static enum Status.Code extends Enum<Status.Code>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACKEDACTION_EXECUTEDACTION_FAILEDACTION_THROTTLEDEXECUTION_FAILEDNO_ACTIONSIMULATED_ACTION_EXECUTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Status.CodevalueOf(String name)Returns the enum constant of this type with the specified name.static Status.Code[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXECUTION_FAILED
public static final Status.Code EXECUTION_FAILED
-
NO_ACTION
public static final Status.Code NO_ACTION
-
ACTION_EXECUTED
public static final Status.Code ACTION_EXECUTED
-
SIMULATED_ACTION_EXECUTED
public static final Status.Code SIMULATED_ACTION_EXECUTED
-
ACTION_FAILED
public static final Status.Code ACTION_FAILED
-
ACTION_THROTTLED
public static final Status.Code ACTION_THROTTLED
-
ACKED
public static final Status.Code ACKED
-
-
Method Detail
-
values
public static Status.Code[] 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 (Status.Code c : Status.Code.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Status.Code valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-