|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Validate
Marker for methods which arguments have to be validated.
| Optional Element Summary | |
|---|---|
Class<?>[] |
groups
The groups have to be validated, empty by default. |
Class<? extends Throwable> |
rethrowExceptionsAs
The exception re-thrown when an error occurs during the validation. |
boolean |
validateReturnedValue
Marks if the returned object by the intercepted method execution has to be validated, false by default. |
public abstract Class<?>[] groups
public abstract boolean validateReturnedValue
public abstract Class<? extends Throwable> rethrowExceptionsAs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||