Class AnnotatedArgumentBuilder
- java.lang.Object
-
- io.leangen.graphql.metadata.strategy.query.AnnotatedArgumentBuilder
-
- All Implemented Interfaces:
ResolverArgumentBuilder
public class AnnotatedArgumentBuilder extends Object implements ResolverArgumentBuilder
-
-
Constructor Summary
Constructors Constructor Description AnnotatedArgumentBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OperationArgument
buildResolverArgument(Parameter parameter, AnnotatedType parameterType, ArgumentBuilderParams builderParams)
List<OperationArgument>
buildResolverArguments(ArgumentBuilderParams params)
protected DefaultValue
defaultValue(Parameter parameter, AnnotatedType parameterType, GlobalEnvironment environment)
protected <T extends DefaultValueProvider>
TdefaultValueProvider(Class<T> type)
protected String
getArgumentDescription(Parameter parameter, AnnotatedType parameterType, MessageBundle messageBundle)
protected String
getArgumentName(Parameter parameter, AnnotatedType parameterType, ArgumentBuilderParams builderParams)
-
-
-
Method Detail
-
buildResolverArguments
public List<OperationArgument> buildResolverArguments(ArgumentBuilderParams params)
- Specified by:
buildResolverArguments
in interfaceResolverArgumentBuilder
-
buildResolverArgument
protected OperationArgument buildResolverArgument(Parameter parameter, AnnotatedType parameterType, ArgumentBuilderParams builderParams)
-
getArgumentName
protected String getArgumentName(Parameter parameter, AnnotatedType parameterType, ArgumentBuilderParams builderParams)
-
getArgumentDescription
protected String getArgumentDescription(Parameter parameter, AnnotatedType parameterType, MessageBundle messageBundle)
-
defaultValue
protected DefaultValue defaultValue(Parameter parameter, AnnotatedType parameterType, GlobalEnvironment environment)
-
defaultValueProvider
protected <T extends DefaultValueProvider> T defaultValueProvider(Class<T> type) throws ReflectiveOperationException
- Throws:
ReflectiveOperationException
-
-