Annotation Interface Implementation
Indicates that the annotated class is a custom implementation that should replace the default implementation.
- See Also:
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionClass
<? extends Annotation> Gets the annotation theValidator
should be mapped to.Gets thePriority
to register theMiddleware
with.
-
Element Details
-
priority
Priority priorityGets thePriority
to register theMiddleware
with. If this implementation is not a subtype ofMiddleware
, this field can be ignored.- Returns:
- the
Priority
- Default:
NORMAL
-
annotation
Class<? extends Annotation> annotationGets the annotation theValidator
should be mapped to. If this class is not a subtype ofValidator
, this field can be ignored.- Returns:
- the annotation the
Validator
should be mapped to
- Default:
com.github.kaktushose.jda.commands.annotations.constraints.Constraint.class
-