|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.codec.extended.operations.GracefulShutdownStatesEnum
public class GracefulShutdownStatesEnum
This class store the GracefulShutdown's grammar constants. It is also used for debugging purposes.
Field Summary | |
---|---|
static int |
DELAY_STATE
Delay |
static int |
GRACEFUL_SHUTDOWN_SEQUENCE_STATE
Sequence |
static int |
LAST_GRACEFUL_SHUTDOWN_STATE
terminal state |
static int |
START_STATE
Initial state |
static int |
TIME_OFFLINE_STATE
Time offline |
Fields inherited from interface org.apache.directory.shared.asn1.ber.grammar.IStates |
---|
END_STATE, GRAMMAR_END, INIT_GRAMMAR_STATE |
Method Summary | |
---|---|
java.lang.String |
getGrammarName(IGrammar grammar)
Get the grammar name |
java.lang.String |
getGrammarName(int grammar)
Get the grammar name |
static IStates |
getInstance()
Get an instance of this class |
java.lang.String |
getState(int state)
Get the string representing the state |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int START_STATE
public static int GRACEFUL_SHUTDOWN_SEQUENCE_STATE
public static int TIME_OFFLINE_STATE
public static int DELAY_STATE
public static int LAST_GRACEFUL_SHUTDOWN_STATE
Method Detail |
---|
public static IStates getInstance()
public java.lang.String getGrammarName(int grammar)
getGrammarName
in interface IStates
grammar
- The grammar code
public java.lang.String getGrammarName(IGrammar grammar)
getGrammarName
in interface IStates
grammar
- The grammar class
public java.lang.String getState(int state)
getState
in interface IStates
state
- The state number
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |