public static class DirectivesUtil.DirectivesHolder
extends java.lang.Object
Constructor and Description |
---|
DirectivesHolder(java.util.Collection<GraphQLDirective> allDirectives) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableMap<java.lang.String,java.util.List<GraphQLDirective>> |
getAllDirectivesByName() |
GraphQLDirective |
getDirective(java.lang.String directiveName) |
java.util.List<GraphQLDirective> |
getDirectives() |
java.util.List<GraphQLDirective> |
getDirectives(java.lang.String directiveName) |
com.google.common.collect.ImmutableMap<java.lang.String,GraphQLDirective> |
getDirectivesByName() |
public DirectivesHolder(java.util.Collection<GraphQLDirective> allDirectives)
public com.google.common.collect.ImmutableMap<java.lang.String,java.util.List<GraphQLDirective>> getAllDirectivesByName()
public com.google.common.collect.ImmutableMap<java.lang.String,GraphQLDirective> getDirectivesByName()
public java.util.List<GraphQLDirective> getDirectives()
public GraphQLDirective getDirective(java.lang.String directiveName)
public java.util.List<GraphQLDirective> getDirectives(java.lang.String directiveName)