Interface GraphQLDirectiveFieldEncounter<A>

All Superinterfaces:
GraphQLDirectiveApplyEncounter<A>
All Known Implementing Classes:
GraphQLDirectiveFieldEncounterImpl

public interface GraphQLDirectiveFieldEncounter<A>
extends GraphQLDirectiveApplyEncounter<A>
  • Method Details

    • getField

      graphql.schema.GraphQLFieldDefinition getField()
      Get the field on which the directive is being applied.
      Returns:
    • transformField

      void transformField​(Consumer<graphql.schema.GraphQLFieldDefinition.Builder> consumer)
      Transform the field using the given builder.
      Parameters:
      consumer -
    • getSupplier

      DataFetchingSupplier<?> getSupplier()
      Get the supplier currently used.
      Returns:
    • setSupplier

      void setSupplier​(DataFetchingSupplier<?> supplier)
      Update the supplier.
      Parameters:
      supplier -