Class OperationDefinition
java.lang.Object
com.predic8.membrane.core.graphql.model.ExecutableDefinition
com.predic8.membrane.core.graphql.model.OperationDefinition
- All Implemented Interfaces:
Definition
-
Constructor Summary
ConstructorsConstructorDescriptionOperationDefinition(OperationType operationType, String name, List<VariableDefinition> variableDefinitions, List<Directive> directives, List<Selection> selections) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()inthashCode()voidstatic List<VariableDefinition>toString()
-
Constructor Details
-
OperationDefinition
public OperationDefinition() -
OperationDefinition
public OperationDefinition(OperationType operationType, String name, List<VariableDefinition> variableDefinitions, List<Directive> directives, List<Selection> selections)
-
-
Method Details
-
parse
- Throws:
IOExceptionParsingException
-
parseVariableDefinitionsOpt
public static List<VariableDefinition> parseVariableDefinitionsOpt(Tokenizer t) throws IOException, ParsingException - Throws:
IOExceptionParsingException
-
equals
-
hashCode
public int hashCode() -
toString
-
getName
-
getOperationType
-
getSelections
-