public enum SecuritySelectorOptions extends java.lang.Enum<SecuritySelectorOptions> implements EnumCreator<SecuritySelectorOptions>
Enum Constant and Description |
---|
ENTER_PASSWORD
Defines the "Enter Password" security option.
|
LEAVE_PASSWORD_UNCHANGED
Defines the "Password Unchanged" security option.
|
NO_PASSWORD_PROTECTION
Defines the "No Password Protection" security option.
|
Modifier and Type | Field and Description |
---|---|
private static AccountsConstants |
CONSTANTS
The instance of accounts constants provider
|
private static java.util.Map<java.lang.String,java.lang.String> |
MAP
The all security options and their presentation values
|
Modifier and Type | Method and Description |
---|---|
SecuritySelectorOptions |
createFrom(java.lang.String name)
Create this enumeration by its name.
|
SecuritySelectorOptions[] |
getValues()
Lists all its values.
|
java.lang.String |
toString()
Returns its presentation value.
|
static SecuritySelectorOptions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SecuritySelectorOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecuritySelectorOptions LEAVE_PASSWORD_UNCHANGED
public static final SecuritySelectorOptions ENTER_PASSWORD
public static final SecuritySelectorOptions NO_PASSWORD_PROTECTION
private static final AccountsConstants CONSTANTS
private static final java.util.Map<java.lang.String,java.lang.String> MAP
public static SecuritySelectorOptions[] values()
for (SecuritySelectorOptions c : SecuritySelectorOptions.values()) System.out.println(c);
public static SecuritySelectorOptions valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<SecuritySelectorOptions>
public SecuritySelectorOptions[] getValues()
getValues
in interface EnumCreator<SecuritySelectorOptions>
public SecuritySelectorOptions createFrom(java.lang.String name)
createFrom
in interface EnumCreator<SecuritySelectorOptions>
name
- The security option name