public enum SyncDoneValueStatesEnum extends Enum<SyncDoneValueStatesEnum> implements States
Enum Constant and Description |
---|
COOKIE_STATE
cookie value state
|
END_STATE
The END_STATE
|
LAST_SYNC_DONE_VALUE_STATE
terminal state
|
REFRESH_DELETES_STATE
refreshDeletes value state
|
START_STATE |
SYNC_DONE_VALUE_SEQUENCE_STATE
sequence start state
|
Modifier and Type | Method and Description |
---|---|
String |
getGrammarName(Grammar grammar)
Get the grammar name
|
String |
getGrammarName(int grammar)
Get the grammar name
|
SyncDoneValueStatesEnum |
getStartState() |
String |
getState(int state)
Get the string representing the state
|
boolean |
isEndState() |
static SyncDoneValueStatesEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyncDoneValueStatesEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyncDoneValueStatesEnum END_STATE
public static final SyncDoneValueStatesEnum START_STATE
public static final SyncDoneValueStatesEnum SYNC_DONE_VALUE_SEQUENCE_STATE
public static final SyncDoneValueStatesEnum COOKIE_STATE
public static final SyncDoneValueStatesEnum REFRESH_DELETES_STATE
public static final SyncDoneValueStatesEnum LAST_SYNC_DONE_VALUE_STATE
public static SyncDoneValueStatesEnum[] values()
for (SyncDoneValueStatesEnum c : SyncDoneValueStatesEnum.values()) System.out.println(c);
public static SyncDoneValueStatesEnum 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(int grammar)
grammar
- The grammar codepublic String getGrammarName(Grammar grammar)
grammar
- The grammar classpublic String getState(int state)
state
- The state numberpublic boolean isEndState()
isEndState
in interface States
public SyncDoneValueStatesEnum getStartState()
getStartState
in interface States
Copyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.