Class Validators
java.lang.Object
io.github.kaktushose.jdac.dispatching.validation.internal.Validators
Central registry for all
Validators.- See Also:
- Implementation Note:
- The business logic for checking a commands options is implemented by
ConstraintMiddleware
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionValidators(Map<Class<? extends Annotation>, Validator<?, ?>> validators) Constructs a new Validators. -
Method Summary
Modifier and TypeMethodDescriptionget(AnnotationDescription<? extends Annotation> annotation, Class<?> type) Gets aValidatorbased on the annotation and the type to validate.
-
Constructor Details
-
Validators
Constructs a new Validators. This will register the following
Validators by default:
-
-
Method Details