public enum PersistentSearchStates extends Enum<PersistentSearchStates> implements States
Enum Constant and Description |
---|
CHANGE_TYPES_STATE
changeTypes Value
|
CHANGES_ONLY_STATE
changesOnly Value
|
END_STATE
The END_STATE
|
LAST_PSEARCH_STATE
terminal state
|
PSEARCH_SEQUENCE_STATE
Sequence Value
|
RETURN_ECS_STATE
returnECs Value
|
START_STATE
Initial state
|
Modifier and Type | Method and Description |
---|---|
String |
getGrammarName()
Get the grammar name
|
PersistentSearchStates |
getStartState() |
String |
getState(int state)
Get the string representing the state
|
boolean |
isEndState() |
static PersistentSearchStates |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersistentSearchStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersistentSearchStates END_STATE
public static final PersistentSearchStates START_STATE
public static final PersistentSearchStates PSEARCH_SEQUENCE_STATE
public static final PersistentSearchStates CHANGE_TYPES_STATE
public static final PersistentSearchStates CHANGES_ONLY_STATE
public static final PersistentSearchStates RETURN_ECS_STATE
public static final PersistentSearchStates LAST_PSEARCH_STATE
public static PersistentSearchStates[] values()
for (PersistentSearchStates c : PersistentSearchStates.values()) System.out.println(c);
public static PersistentSearchStates 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 PersistentSearchStates getStartState()
getStartState
in interface States
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.