Class IntrospectionQueryBuilder.Options

java.lang.Object
graphql.introspection.IntrospectionQueryBuilder.Options
Enclosing class:
IntrospectionQueryBuilder

public static class IntrospectionQueryBuilder.Options extends Object
  • Method Details

    • isDescriptions

      public boolean isDescriptions()
    • isSpecifiedByUrl

      public boolean isSpecifiedByUrl()
    • isOneOf

      public boolean isOneOf()
    • isDirectiveIsRepeatable

      public boolean isDirectiveIsRepeatable()
    • isSchemaDescription

      public boolean isSchemaDescription()
    • isInputValueDeprecation

      public boolean isInputValueDeprecation()
    • getTypeRefFragmentDepth

      public int getTypeRefFragmentDepth()
    • defaultOptions

      public static IntrospectionQueryBuilder.Options defaultOptions()
    • descriptions

      public IntrospectionQueryBuilder.Options descriptions(boolean flag)
      This will allow you to include description fields in the introspection query
      Parameters:
      flag - whether to include them
      Returns:
      options
    • specifiedByUrl

      public IntrospectionQueryBuilder.Options specifiedByUrl(boolean flag)
      This will allow you to include the `specifiedByURL` field for scalar types in the introspection query.
      Parameters:
      flag - whether to include them
      Returns:
      options
    • isOneOf

      public IntrospectionQueryBuilder.Options isOneOf(boolean flag)
      This will allow you to include the `isOneOf` field for one of input types in the introspection query.

      This option is only needed while `@oneOf` input types are new and in time the reason for this option will go away.

      Parameters:
      flag - whether to include them
      Returns:
      options
    • directiveIsRepeatable

      public IntrospectionQueryBuilder.Options directiveIsRepeatable(boolean flag)
      This will allow you to include the `isRepeatable` field for directives in the introspection query.
      Parameters:
      flag - whether to include them
      Returns:
      options
    • schemaDescription

      public IntrospectionQueryBuilder.Options schemaDescription(boolean flag)
      This will allow you to include the `description` field for the schema type in the introspection query.
      Parameters:
      flag - whether to include them
      Returns:
      options
    • inputValueDeprecation

      public IntrospectionQueryBuilder.Options inputValueDeprecation(boolean flag)
      This will allow you to include deprecated input fields in the introspection query.
      Parameters:
      flag - whether to include them
      Returns:
      options
    • typeRefFragmentDepth

      public IntrospectionQueryBuilder.Options typeRefFragmentDepth(int typeRefFragmentDepth)
      This will allow you to control the depth of the `TypeRef` fragment in the introspection query.
      Parameters:
      typeRefFragmentDepth - the depth of the `TypeRef` fragment.
      Returns:
      options