Interface AnnotationsDirectiveWiring


  • public interface AnnotationsDirectiveWiring
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default graphql.schema.GraphQLArgument onArgument​(AnnotationsWiringEnvironment environment)
      This is called when an argument is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element
      default graphql.schema.GraphQLEnumType onEnum​(AnnotationsWiringEnvironment environment)
      This is called when an enum is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element
      default graphql.schema.GraphQLEnumValueDefinition onEnumValue​(AnnotationsWiringEnvironment environment)
      This is called when an enum value is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element
      default graphql.schema.GraphQLFieldDefinition onField​(AnnotationsWiringEnvironment environment)
      This is called when a field is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element
      default graphql.schema.GraphQLInputObjectField onInputObjectField​(AnnotationsWiringEnvironment environment)
      This is called when an input object field is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element
      default graphql.schema.GraphQLInputObjectType onInputObjectType​(AnnotationsWiringEnvironment environment)
      This is called when an input object is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element
      default graphql.schema.GraphQLInterfaceType onInterface​(AnnotationsWiringEnvironment environment)
      This is called when an interface is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element
      default graphql.schema.GraphQLObjectType onObject​(AnnotationsWiringEnvironment environment)
      This is called when an object is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element
      default graphql.schema.GraphQLScalarType onScalar​(AnnotationsWiringEnvironment environment)
      This is called when a custom scalar is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element
      default graphql.schema.GraphQLUnionType onUnion​(AnnotationsWiringEnvironment environment)
      This is called when a union is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element
    • Method Detail

      • onObject

        default graphql.schema.GraphQLObjectType onObject​(AnnotationsWiringEnvironment environment)
        This is called when an object is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element
        Parameters:
        environment - the wiring element
        Returns:
        a non null element based on the original one
      • onField

        default graphql.schema.GraphQLFieldDefinition onField​(AnnotationsWiringEnvironment environment)
        This is called when a field is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element
        Parameters:
        environment - the wiring element
        Returns:
        a non null element based on the original one
      • onArgument

        default graphql.schema.GraphQLArgument onArgument​(AnnotationsWiringEnvironment environment)
        This is called when an argument is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element
        Parameters:
        environment - the wiring element
        Returns:
        a non null element based on the original one
      • onInterface

        default graphql.schema.GraphQLInterfaceType onInterface​(AnnotationsWiringEnvironment environment)
        This is called when an interface is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element
        Parameters:
        environment - the wiring element
        Returns:
        a non null element based on the original one
      • onUnion

        default graphql.schema.GraphQLUnionType onUnion​(AnnotationsWiringEnvironment environment)
        This is called when a union is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element
        Parameters:
        environment - the wiring element
        Returns:
        a non null element based on the original one
      • onEnum

        default graphql.schema.GraphQLEnumType onEnum​(AnnotationsWiringEnvironment environment)
        This is called when an enum is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element
        Parameters:
        environment - the wiring element
        Returns:
        a non null element based on the original one
      • onEnumValue

        default graphql.schema.GraphQLEnumValueDefinition onEnumValue​(AnnotationsWiringEnvironment environment)
        This is called when an enum value is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element
        Parameters:
        environment - the wiring element
        Returns:
        a non null element based on the original one
      • onScalar

        default graphql.schema.GraphQLScalarType onScalar​(AnnotationsWiringEnvironment environment)
        This is called when a custom scalar is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element
        Parameters:
        environment - the wiring element
        Returns:
        a non null element based on the original one
      • onInputObjectType

        default graphql.schema.GraphQLInputObjectType onInputObjectType​(AnnotationsWiringEnvironment environment)
        This is called when an input object is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element
        Parameters:
        environment - the wiring element
        Returns:
        a non null element based on the original one
      • onInputObjectField

        default graphql.schema.GraphQLInputObjectField onInputObjectField​(AnnotationsWiringEnvironment environment)
        This is called when an input object field is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element
        Parameters:
        environment - the wiring element
        Returns:
        a non null element based on the original one