Package io.github.projectunified.craftcommand.validation.annotation


package io.github.projectunified.craftcommand.validation.annotation
Validation annotations for CraftCommand parameters.

Annotations like @ValidateWith, @Min, @Max can be placed on command parameters to enforce constraints at runtime.

  • Annotation Interfaces
    Class
    Description
    Validates that a numeric parameter value is at most the specified maximum.
    Validates that a numeric parameter value is at least the specified minimum.
    Validates a parameter by invoking a custom validation method inside the command class.