Class ValidationEnvironment


  • @PublicApi
    public class ValidationEnvironment
    extends java.lang.Object
    The environment in which validation runs
    • Method Detail

      • getContextObject

        public <T> T getContextObject​(java.lang.Class<T> clazz,
                                      java.lang.Object... defaultVal)
      • getFieldsContainer

        public graphql.schema.GraphQLFieldsContainer getFieldsContainer()
      • getFieldDefinition

        public graphql.schema.GraphQLFieldDefinition getFieldDefinition()
      • getArgument

        public graphql.schema.GraphQLArgument getArgument()
      • getLocation

        public graphql.language.SourceLocation getLocation()
      • getValidatedPath

        public graphql.execution.ResultPath getValidatedPath()
      • getExecutionPath

        public graphql.execution.ResultPath getExecutionPath()
      • getValidatedType

        public graphql.schema.GraphQLInputType getValidatedType()
      • getValidatedValue

        public java.lang.Object getValidatedValue()
      • getArgumentValues

        public java.util.Map<java.lang.String,​java.lang.Object> getArgumentValues()
      • getLocale

        public java.util.Locale getLocale()
      • getDirectives

        public java.util.List<graphql.schema.GraphQLAppliedDirective> getDirectives()