public class ValidationFailureComposer extends Object
ValidationFailure
s and compose
them as needed.Modifier and Type | Field and Description |
---|---|
private List<ValidationFailure> |
failureList |
private ValidationFailure |
result |
Constructor and Description |
---|
ValidationFailureComposer()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(ValidationFailure failure) |
ValidationFailure |
get(Object valueSource) |
private ValidationFailure result
private List<ValidationFailure> failureList
public void add(ValidationFailure failure)
failure
- the ValidationFailure
to add.public ValidationFailure get(Object valueSource)
valueSource
- the source
.ValidationFailure
representing the collected
failures or
null
if none were collected.Copyright © 2001–2016 mmm-Team. All rights reserved.