Package io.dialob.api.proto
Enum Action.Type
- java.lang.Object
-
- java.lang.Enum<Action.Type>
-
- io.dialob.api.proto.Action.Type
-
- All Implemented Interfaces:
Serializable,Comparable<Action.Type>
- Enclosing interface:
- Action
public static enum Action.Type extends Enum<Action.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_ROWANSWERCOMPLETEDELETE_ROWERRORGOTOITEMLOCALENEXTNOT_FOUNDPREVIOUSREMOVE_ANSWERSREMOVE_ERRORREMOVE_ITEMSREMOVE_VALUE_SETSRESETROWSSERVER_ERRORSET_FAILEDSET_LOCALESET_VALUEVALUE_SET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisClientAction()static Action.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static Action.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANSWER
public static final Action.Type ANSWER
-
NEXT
public static final Action.Type NEXT
-
PREVIOUS
public static final Action.Type PREVIOUS
-
GOTO
public static final Action.Type GOTO
-
COMPLETE
public static final Action.Type COMPLETE
-
ADD_ROW
public static final Action.Type ADD_ROW
-
DELETE_ROW
public static final Action.Type DELETE_ROW
-
REMOVE_ANSWERS
public static final Action.Type REMOVE_ANSWERS
-
RESET
public static final Action.Type RESET
-
ITEM
public static final Action.Type ITEM
-
REMOVE_ITEMS
public static final Action.Type REMOVE_ITEMS
-
ERROR
public static final Action.Type ERROR
-
REMOVE_ERROR
public static final Action.Type REMOVE_ERROR
-
VALUE_SET
public static final Action.Type VALUE_SET
-
REMOVE_VALUE_SETS
public static final Action.Type REMOVE_VALUE_SETS
-
NOT_FOUND
public static final Action.Type NOT_FOUND
-
SERVER_ERROR
public static final Action.Type SERVER_ERROR
-
ROWS
public static final Action.Type ROWS
-
SET_VALUE
public static final Action.Type SET_VALUE
-
SET_FAILED
public static final Action.Type SET_FAILED
-
LOCALE
public static final Action.Type LOCALE
-
SET_LOCALE
public static final Action.Type SET_LOCALE
-
-
Method Detail
-
values
public static Action.Type[] 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 (Action.Type c : Action.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Action.Type 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
-
isClientAction
public boolean isClientAction()
-
-