Package graphql.execution
Enum Class EngineRunningObserver.RunningState
java.lang.Object
java.lang.Enum<EngineRunningObserver.RunningState>
graphql.execution.EngineRunningObserver.RunningState
- All Implemented Interfaces:
Serializable
,Comparable<EngineRunningObserver.RunningState>
,Constable
- Enclosing interface:
EngineRunningObserver
public static enum EngineRunningObserver.RunningState
extends Enum<EngineRunningObserver.RunningState>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents that the engine code has been cancelled viaExecutionInput.cancel()
Represents that the engine code is asynchronously waiting for fetching to happenRepresents that the engine is finishedRepresents that the engine code is actively running its own codeRepresents that the engine is running, for the first time -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static EngineRunningObserver.RunningState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RUNNING_START
Represents that the engine is running, for the first time -
RUNNING
Represents that the engine code is actively running its own code -
NOT_RUNNING
Represents that the engine code is asynchronously waiting for fetching to happen -
NOT_RUNNING_FINISH
Represents that the engine is finished -
CANCELLED
Represents that the engine code has been cancelled viaExecutionInput.cancel()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-