Enum BasicUser.AccountType
- java.lang.Object
-
- java.lang.Enum<BasicUser.AccountType>
-
- org.genesys.blocks.security.model.BasicUser.AccountType
-
- All Implemented Interfaces:
Serializable,Comparable<BasicUser.AccountType>
public static enum BasicUser.AccountType extends Enum<BasicUser.AccountType>
The Enum AccountType.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BasicUser.AccountTypevalueOf(String name)Returns the enum constant of this type with the specified name.static BasicUser.AccountType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCAL
public static final BasicUser.AccountType LOCAL
The local.
-
LDAP
public static final BasicUser.AccountType LDAP
The ldap.
-
GOOGLE
public static final BasicUser.AccountType GOOGLE
The google.
-
SYSTEM
public static final BasicUser.AccountType SYSTEM
The system.
-
DELETED
public static final BasicUser.AccountType DELETED
Deleted user accounts.
-
-
Method Detail
-
values
public static BasicUser.AccountType[] 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 (BasicUser.AccountType c : BasicUser.AccountType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BasicUser.AccountType 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
-
-