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 InputValueWithStateprivate final InputValueWithState.Stateprivate final Object -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateInputValueWithState(InputValueWithState.State state, Object value) -
Method Summary
Modifier and TypeMethodDescription@Nullable ObjectgetValue()booleanbooleanbooleanbooleanisNotSet()booleanisSet()static InputValueWithStatenewExternalValue(@Nullable Object value) static InputValueWithStatenewInternalValue(@Nullable Object value) static InputValueWithStatenewLiteralValue(@NotNull Value value) toString()
-
Field Details
-
state
-
value
-
NOT_SET
-
-
Constructor Details
-
InputValueWithState
-
-
Method Details
-
newLiteralValue
-
newExternalValue
-
newInternalValue
-
getValue
-
isNotSet
public boolean isNotSet() -
isSet
public boolean isSet() -
isLiteral
public boolean isLiteral() -
isExternal
public boolean isExternal() -
isInternal
public boolean isInternal() -
toString
-