|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PasswordPolicyStates>
org.apache.directory.shared.ldap.extras.controls.ppolicy_impl.PasswordPolicyStates
public enum PasswordPolicyStates
various states used in PasswordPolicyGrammar.
| Enum Constant Summary | |
|---|---|
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
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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
| Method Detail |
|---|
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 name
NullPointerException - if the argument is nullpublic String getGrammarName(Grammar grammar)
public String getGrammarName(int grammar)
public String getState(int state)
public boolean isEndState()
isEndState in interface Statespublic PasswordPolicyStates getStartState()
getStartState in interface States
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||