Class DirectiveType


  • public class DirectiveType
    extends Object
    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:
    Custom Directive
    • Constructor Detail

      • DirectiveType

        public DirectiveType()
    • Method Detail

      • setClassName

        public void setClassName​(String className)
      • getClassName

        public String getClassName()
      • setName

        public void setName​(String name)
      • getName

        public String getName()
      • setDescription

        public void setDescription​(String description)
      • getDescription

        public String getDescription()
      • setLocations

        public void setLocations​(Set<String> locations)
      • getLocations

        public Set<String> getLocations()
      • isRepeatable

        public boolean isRepeatable()
      • setRepeatable

        public void setRepeatable​(boolean repeatable)
      • argumentTypesAsMap

        public Map<String,​DirectiveArgument> 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

        public Set<String> argumentNames()