Package graphql.schema
Class InputValueWithState
java.lang.Object
graphql.schema.InputValueWithState
Used by @
GraphQLArgument
and GraphQLInputObjectField
to represent different value states.-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final InputValueWithState
private final InputValueWithState.State
private final Object
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
InputValueWithState
(InputValueWithState.State state, Object value) -
Method Summary
Modifier and TypeMethodDescription@Nullable Object
getValue()
boolean
boolean
boolean
boolean
isNotSet()
boolean
isSet()
static InputValueWithState
newExternalValue
(@Nullable Object value) static InputValueWithState
newInternalValue
(@Nullable Object value) static InputValueWithState
newLiteralValue
(@NotNull Value value) toString()
-
Field Details
-
state
-
value
-
NOT_SET
-
-
Constructor Details
-
InputValueWithState
-
-
Method Details