Class InputValueWithState

java.lang.Object
graphql.schema.InputValueWithState

@PublicApi public class InputValueWithState extends Object
Used by @GraphQLArgument and GraphQLInputObjectField to represent different value states.
  • Field Details

  • Method Details

    • newLiteralValue

      public static InputValueWithState newLiteralValue(@NonNull Value value)
    • newExternalValue

      public static InputValueWithState newExternalValue(@Nullable Object value)
    • newInternalValue

      public static InputValueWithState newInternalValue(@Nullable Object value)
    • getValue

      public @Nullable Object getValue()
    • isNotSet

      public boolean isNotSet()
    • isSet

      public boolean isSet()
    • isLiteral

      public boolean isLiteral()
    • isExternal

      public boolean isExternal()
    • isInternal

      public boolean isInternal()
    • toString

      public String toString()
      Overrides:
      toString in class Object