Package graphql

Class DirectivesUtil.DirectivesHolder

  • Enclosing class:
    DirectivesUtil

    public static class DirectivesUtil.DirectivesHolder
    extends java.lang.Object
    A holder class that breaks a list of directives into maps to be more easily accessible in using classes
    • Method Detail

      • getAllDirectivesByName

        public com.google.common.collect.ImmutableMap<java.lang.String,​java.util.List<GraphQLDirective>> getAllDirectivesByName()
      • getDirectivesByName

        public com.google.common.collect.ImmutableMap<java.lang.String,​GraphQLDirective> getDirectivesByName()
      • getDirective

        public GraphQLDirective getDirective​(java.lang.String directiveName)
      • getDirectives

        public java.util.List<GraphQLDirective> getDirectives​(java.lang.String directiveName)
      • getAllAppliedDirectivesByName

        public com.google.common.collect.ImmutableMap<java.lang.String,​java.util.List<GraphQLAppliedDirective>> getAllAppliedDirectivesByName()
      • getAppliedDirectives

        public java.util.List<GraphQLAppliedDirective> getAppliedDirectives​(java.lang.String directiveName)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object