Enum ExecuteWatchResponse.Status
- java.lang.Object
-
- java.lang.Enum<ExecuteWatchResponse.Status>
-
- com.floragunn.signals.actions.watch.execute.ExecuteWatchResponse.Status
-
- All Implemented Interfaces:
Serializable,Comparable<ExecuteWatchResponse.Status>
- Enclosing class:
- ExecuteWatchResponse
public static enum ExecuteWatchResponse.Status extends Enum<ExecuteWatchResponse.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR_WHILE_EXECUTINGEXECUTEDINVALID_GOTOINVALID_INPUTINVALID_WATCH_DEFINITIONNOT_FOUNDTENANT_NOT_FOUND
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExecuteWatchResponse.StatusvalueOf(String name)Returns the enum constant of this type with the specified name.static ExecuteWatchResponse.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXECUTED
public static final ExecuteWatchResponse.Status EXECUTED
-
ERROR_WHILE_EXECUTING
public static final ExecuteWatchResponse.Status ERROR_WHILE_EXECUTING
-
NOT_FOUND
public static final ExecuteWatchResponse.Status NOT_FOUND
-
TENANT_NOT_FOUND
public static final ExecuteWatchResponse.Status TENANT_NOT_FOUND
-
INVALID_WATCH_DEFINITION
public static final ExecuteWatchResponse.Status INVALID_WATCH_DEFINITION
-
INVALID_INPUT
public static final ExecuteWatchResponse.Status INVALID_INPUT
-
INVALID_GOTO
public static final ExecuteWatchResponse.Status INVALID_GOTO
-
-
Method Detail
-
values
public static ExecuteWatchResponse.Status[] 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 (ExecuteWatchResponse.Status c : ExecuteWatchResponse.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExecuteWatchResponse.Status 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
-
-