Package org.cyclos.impl.access
Enum FailedAction
- java.lang.Object
-
- java.lang.Enum<FailedAction>
-
- org.cyclos.impl.access.FailedAction
-
- All Implemented Interfaces:
Serializable,Comparable<FailedAction>
public enum FailedAction extends Enum<FailedAction>
Types of failed actions used when tracking the amount of failures of certain type. e.g Amount of failed attempts to login by an invalid password.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FailedActionvalueOf(String name)Returns the enum constant of this type with the specified name.static FailedAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FAILED_PRINCIPAL
public static final FailedAction FAILED_PRINCIPAL
-
FAILED_TOKEN_ACTIVATION
public static final FailedAction FAILED_TOKEN_ACTIVATION
-
FAILED_SECURITY_ANSWER
public static final FailedAction FAILED_SECURITY_ANSWER
-
FAILED_VOUCHER_REDEEM
public static final FailedAction FAILED_VOUCHER_REDEEM
-
FAILED_USER_LOCATION
public static final FailedAction FAILED_USER_LOCATION
-
FAILED_DEVICE_CONFIRMATION
public static final FailedAction FAILED_DEVICE_CONFIRMATION
-
FAILED_DEVICE_ACTIVATION
public static final FailedAction FAILED_DEVICE_ACTIVATION
-
FAILED_VOUCHER_INFO
public static final FailedAction FAILED_VOUCHER_INFO
-
FAILED_VOUCHER_PIN
public static final FailedAction FAILED_VOUCHER_PIN
-
FORGOT_PASSWORD_REQUEST
public static final FailedAction FORGOT_PASSWORD_REQUEST
-
BLOCKED_USER
public static final FailedAction BLOCKED_USER
-
-
Method Detail
-
values
public static FailedAction[] 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 (FailedAction c : FailedAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FailedAction 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
-
-