Class ArgumentCreator

java.lang.Object
io.smallrye.graphql.schema.creator.ModelCreator
io.smallrye.graphql.schema.creator.ArgumentCreator

public class ArgumentCreator extends ModelCreator
Creates a Argument object
Author:
Phillip Kruger (phillip.kruger@redhat.com)
  • Constructor Details

  • Method Details

    • getDirectiveLocation

      public String getDirectiveLocation()
      Specified by:
      getDirectiveLocation in class ModelCreator
    • createArgument

      public Optional<Argument> createArgument(Operation operation, org.jboss.jandex.MethodInfo methodInfo, short position)
      Create an argument model. Arguments exist on Operations as input parameters
      Parameters:
      operation - The operation
      methodInfo - the operation method
      position - the argument position
      Returns:
      an Argument