MethodValidationResult.
MethodValidator
| Modifier and Type | Field and Description |
|---|---|
| private final MethodValidationResult |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public List | getAllValidationResults()
Implements org. |
| public Method | getMethod()
Implements org. |
| public Object | getTarget()
Implements org. |
| public boolean | isForReturnValue()
Implements org. |
| validationResult | back to summary |
|---|---|
| private final MethodValidationResult validationResult | |
| MethodValidationException | back to summary |
|---|---|
| public MethodValidationException(MethodValidationResult validationResult) | |
| getAllValidationResults | back to summary |
|---|---|
| public List Implements org. Doc from org. Return all validation results. This includes both method parameters with errors directly on them, and Object method parameters with nested errors on their fields and properties.
| |
| getMethod | back to summary |
|---|---|
| public Method getMethod() Implements org. Doc from org. Return the method to which validation was applied.
| |
| getTarget | back to summary |
|---|---|
| public Object getTarget() Implements org. Doc from org. Return the target of the method invocation to which validation was applied.
| |
| isForReturnValue | back to summary |
|---|---|
| public boolean isForReturnValue() Implements org. Doc from org. Whether the violations are for a return value. If true the violations are from validating a return value. If false the violations are from validating method arguments.
| |