Package graphql.schema
Enum InputValueWithState.State
- All Implemented Interfaces:
Serializable
,Comparable<InputValueWithState.State>
- Enclosing class:
InputValueWithState
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe value is an external valueThis is only used to preserve backward compatibility (for now): it is a value which is assumed to be already coerced.The value is an Ast literalValue was never set aka not provided -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InputValueWithState.State
Returns the enum constant of this type with the specified name.static InputValueWithState.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NOT_SET
Value was never set aka not provided -
LITERAL
The value is an Ast literal -
EXTERNAL_VALUE
The value is an external value -
INTERNAL_VALUE
This is only used to preserve backward compatibility (for now): it is a value which is assumed to be already coerced. This will be removed at one point.
-
-
Constructor Details
-
State
private State()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-