public enum UserStateType extends Enum<UserStateType>
| Enum Constant and Description |
|---|
ENABLE
if account is enabled
|
EXIPRE_CREDENTIALS
if account has expired credentials
|
EXPIRE
if account is expired
|
LOCK
if account is locked
|
| Modifier and Type | Method and Description |
|---|---|
static UserStateType |
fromType(String type) |
String |
getType() |
static UserStateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserStateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserStateType ENABLE
public static final UserStateType EXPIRE
public static final UserStateType LOCK
public static final UserStateType EXIPRE_CREDENTIALS
public static UserStateType[] values()
for (UserStateType c : UserStateType.values()) System.out.println(c);
public static UserStateType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static UserStateType fromType(String type)
public String getType()
Copyright © 2016–2018. All rights reserved.