public enum PasswordPolicyStates extends Enum<PasswordPolicyStates> implements States
PasswordPolicyGrammar
.Enum Constant and Description |
---|
END_STATE |
PPOLICY_ERROR_TAG_STATE |
PPOLICY_GRACE_AUTHNS_REMAINING_STATE |
PPOLICY_SEQ_STATE |
PPOLICY_TIME_BEFORE_EXPIRATION_STATE |
PPOLICY_WARNING_TAG_STATE |
START_STATE |
Modifier and Type | Method and Description |
---|---|
String |
getGrammarName(Grammar<?> grammar) |
String |
getGrammarName(int grammar) |
PasswordPolicyStates |
getStartState() |
String |
getState(int state) |
boolean |
isEndState() |
static PasswordPolicyStates |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PasswordPolicyStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PasswordPolicyStates START_STATE
public static final PasswordPolicyStates PPOLICY_SEQ_STATE
public static final PasswordPolicyStates PPOLICY_WARNING_TAG_STATE
public static final PasswordPolicyStates PPOLICY_TIME_BEFORE_EXPIRATION_STATE
public static final PasswordPolicyStates PPOLICY_GRACE_AUTHNS_REMAINING_STATE
public static final PasswordPolicyStates PPOLICY_ERROR_TAG_STATE
public static final PasswordPolicyStates END_STATE
public static PasswordPolicyStates[] values()
for (PasswordPolicyStates c : PasswordPolicyStates.values()) System.out.println(c);
public static PasswordPolicyStates 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 String getGrammarName(Grammar<?> grammar)
public String getGrammarName(int grammar)
public boolean isEndState()
isEndState
in interface States
public PasswordPolicyStates getStartState()
getStartState
in interface States
Copyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.