Annotation Type | Description |
---|---|
Validate |
Explicitly turns on validation for all method parameter annotated with
@Validate.With("methodname") ,
@Validate.NotNull() or @Validate.NotEmpty() . |
Validate.NotEmpty |
Triggers an empty check for the annotated parameter by invoking the
isEmpty method of the parameter type. |
Validate.NotNull |
Triggers a null-check for the annotated parameter.
|
Validate.With |
Specify a custom validation method.
|