public enum PasswordPolicyStates extends Enum<PasswordPolicyStates> implements States
PasswordPolicyGrammar
.Enum Constant and Description |
---|
END_STATE
end state
|
PPOLICY_ERROR_TAG_STATE
error [1] ENUMERATED transition
|
PPOLICY_GRACE_AUTHNS_REMAINING_STATE
graceAuthNsRemaining [1] INTEGER (0 ..
|
PPOLICY_SEQ_STATE
PasswordPolicyResponseValue ::= SEQUENCE transition
|
PPOLICY_TIME_BEFORE_EXPIRATION_STATE
timeBeforeExpiration [0] INTEGER (0 ..
|
PPOLICY_WARNING_TAG_STATE
warning [0] CHOICE transition
|
START_STATE
Initial state
|
Modifier and Type | Method and Description |
---|---|
String |
getGrammarName()
Get the grammar name
|
PasswordPolicyStates |
getStartState() |
String |
getState(int state)
Get the string representing the 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()
public String getState(int state)
state
- The state numberpublic boolean isEndState()
isEndState
in interface States
public PasswordPolicyStates getStartState()
getStartState
in interface States
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.