Package org.cyclos.model.access.clients
Enum AccessClientAction
- java.lang.Object
-
- java.lang.Enum<AccessClientAction>
-
- org.cyclos.model.access.clients.AccessClientAction
-
- All Implemented Interfaces:
Serializable,Comparable<AccessClientAction>,HasMessageKey
public enum AccessClientAction extends Enum<AccessClientAction> implements HasMessageKey
Access client actions and their mappings to message keys
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOCKGET_ACTIVATION_CODEUNASSIGNUNBLOCK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageKeygetConfirmKey()MessageKeygetDoneKey()MessageKeygetMessageKey()static AccessClientActionvalueOf(String name)Returns the enum constant of this type with the specified name.static AccessClientAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BLOCK
public static final AccessClientAction BLOCK
-
UNBLOCK
public static final AccessClientAction UNBLOCK
-
UNASSIGN
public static final AccessClientAction UNASSIGN
-
GET_ACTIVATION_CODE
public static final AccessClientAction GET_ACTIVATION_CODE
-
-
Method Detail
-
values
public static AccessClientAction[] 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 (AccessClientAction c : AccessClientAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccessClientAction 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
-
getConfirmKey
public MessageKey getConfirmKey()
-
getDoneKey
public MessageKey getDoneKey()
-
getMessageKey
public MessageKey getMessageKey()
- Specified by:
getMessageKeyin interfaceHasMessageKey
-
-