Package graphql.execution
Enum EngineRunningObserver.RunningState
- java.lang.Object
-
- java.lang.Enum<EngineRunningObserver.RunningState>
-
- graphql.execution.EngineRunningObserver.RunningState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EngineRunningObserver.RunningState>
- Enclosing interface:
- EngineRunningObserver
public static enum EngineRunningObserver.RunningState extends java.lang.Enum<EngineRunningObserver.RunningState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOT_RUNNING
Represents that the engine code is asynchronously waiting for fetching to happenNOT_RUNNING_FINISH
Represents that the engine is finishedRUNNING
Represents that the engine code is actively running its own codeRUNNING_START
Represents that the engine is running, for the first time
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EngineRunningObserver.RunningState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EngineRunningObserver.RunningState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RUNNING_START
public static final EngineRunningObserver.RunningState RUNNING_START
Represents that the engine is running, for the first time
-
RUNNING
public static final EngineRunningObserver.RunningState RUNNING
Represents that the engine code is actively running its own code
-
NOT_RUNNING
public static final EngineRunningObserver.RunningState NOT_RUNNING
Represents that the engine code is asynchronously waiting for fetching to happen
-
NOT_RUNNING_FINISH
public static final EngineRunningObserver.RunningState NOT_RUNNING_FINISH
Represents that the engine is finished
-
-
Method Detail
-
values
public static EngineRunningObserver.RunningState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EngineRunningObserver.RunningState c : EngineRunningObserver.RunningState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EngineRunningObserver.RunningState valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-