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 happenRUNNING
Represents that the engine code is actively running its own code
-
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
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
-
-
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
-
-