Class DirectiveDefinition
java.lang.Object
com.predic8.membrane.core.graphql.model.DirectiveDefinition
- All Implemented Interfaces:
Definition,TypeSystemDefinition
-
Constructor Summary
ConstructorsConstructorDescriptionDirectiveDefinition(String description, String name, List<InputValueDefinition> inputValueDefinitions, boolean repeatable, List<DirectiveLocation> directiveLocations) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()voidstatic List<DirectiveLocation>parseDirectiveLocations(Tokenizer tokenizer) voidsetDescription(String description) toString()
-
Constructor Details
-
DirectiveDefinition
public DirectiveDefinition() -
DirectiveDefinition
public DirectiveDefinition(String description, String name, List<InputValueDefinition> inputValueDefinitions, boolean repeatable, List<DirectiveLocation> directiveLocations)
-
-
Method Details
-
parse
- Specified by:
parsein interfaceDefinition- Throws:
IOExceptionParsingException
-
parseDirectiveLocations
public static List<DirectiveLocation> parseDirectiveLocations(Tokenizer tokenizer) throws IOException, ParsingException - Throws:
IOExceptionParsingException
-
setDescription
- Specified by:
setDescriptionin interfaceTypeSystemDefinition
-
equals
-
hashCode
public int hashCode() -
toString
-