Package graphql.execution.conditional
Class ConditionalNodes
- java.lang.Object
-
- graphql.execution.conditional.ConditionalNodes
-
public class ConditionalNodes extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ConditionalNodes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private boolean
customShouldInclude(java.util.Map<java.lang.String,java.lang.Object> variables, DirectivesContainer<?> element, GraphQLSchema graphQLSchema, GraphQLContext graphQLContext, ConditionalNodeDecision conditionalDecision)
private boolean
getDirectiveResult(java.util.Map<java.lang.String,java.lang.Object> variables, java.util.List<Directive> directives, java.lang.String directiveName, boolean defaultValue)
boolean
shouldInclude(DirectivesContainer<?> element, java.util.Map<java.lang.String,java.lang.Object> variables, GraphQLSchema graphQLSchema, GraphQLContext graphQLContext)
private boolean
shouldInclude(java.util.Map<java.lang.String,java.lang.Object> variables, java.util.List<Directive> directives)
-
-
-
Method Detail
-
shouldInclude
public boolean shouldInclude(DirectivesContainer<?> element, java.util.Map<java.lang.String,java.lang.Object> variables, GraphQLSchema graphQLSchema, GraphQLContext graphQLContext)
-
customShouldInclude
private boolean customShouldInclude(java.util.Map<java.lang.String,java.lang.Object> variables, DirectivesContainer<?> element, GraphQLSchema graphQLSchema, GraphQLContext graphQLContext, ConditionalNodeDecision conditionalDecision)
-
shouldInclude
private boolean shouldInclude(java.util.Map<java.lang.String,java.lang.Object> variables, java.util.List<Directive> directives)
-
getDirectiveResult
private boolean getDirectiveResult(java.util.Map<java.lang.String,java.lang.Object> variables, java.util.List<Directive> directives, java.lang.String directiveName, boolean defaultValue)
-
-