Package io.smallrye.graphql.schema.model
Class DirectiveType
java.lang.Object
io.smallrye.graphql.schema.model.DirectiveType
A custom directive in the Schema, i.e. the thing that gets declared in the SDL.
When applied somewhere, it's a
DirectiveInstance.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidargumentType(String name) Helper 'getter' methods, but DON'T add 'get' into their names, otherwise it breaks Quarkus bytecode recording, because they would be detected as actual property getters while they are actually notgetName()booleanvoidsetArgumentTypes(List<DirectiveArgument> argumentTypes) voidsetClassName(String className) voidsetDescription(String description) voidsetLocations(Set<String> locations) voidvoidsetRepeatable(boolean repeatable) toString()
-
Constructor Details
-
DirectiveType
public DirectiveType()
-
-
Method Details
-
setClassName
-
getClassName
-
setName
-
getName
-
setDescription
-
getDescription
-
setLocations
-
getLocations
-
getArgumentTypes
-
setArgumentTypes
-
isRepeatable
public boolean isRepeatable() -
setRepeatable
public void setRepeatable(boolean repeatable) -
argumentTypesAsMap
Helper 'getter' methods, but DON'T add 'get' into their names, otherwise it breaks Quarkus bytecode recording, because they would be detected as actual property getters while they are actually not -
argumentNames
-
argumentType
-
addArgumentType
-
toString
-