@PublicApi public class InputValueWithState extends java.lang.Object
GraphQLArgument
and GraphQLInputObjectField
to represent different value states.Modifier and Type | Field and Description |
---|---|
static InputValueWithState |
NOT_SET |
Modifier and Type | Method and Description |
---|---|
@Nullable java.lang.Object |
getValue() |
boolean |
isExternal() |
boolean |
isInternal() |
boolean |
isLiteral() |
boolean |
isNotSet() |
boolean |
isSet() |
static InputValueWithState |
newExternalValue(@Nullable java.lang.Object value) |
static InputValueWithState |
newInternalValue(@Nullable java.lang.Object value) |
static InputValueWithState |
newLiteralValue(@NotNull Value value) |
java.lang.String |
toString() |
public static final InputValueWithState NOT_SET
public static InputValueWithState newLiteralValue(@NotNull @NotNull Value value)
public static InputValueWithState newExternalValue(@Nullable @Nullable java.lang.Object value)
public static InputValueWithState newInternalValue(@Nullable @Nullable java.lang.Object value)
@Nullable public @Nullable java.lang.Object getValue()
public boolean isNotSet()
public boolean isSet()
public boolean isLiteral()
public boolean isExternal()
public boolean isInternal()
public java.lang.String toString()
toString
in class java.lang.Object