public class FailureCollectorWrapper extends java.lang.Object implements FailureCollector
Constructor and Description |
---|
FailureCollectorWrapper() |
Modifier and Type | Method and Description |
---|---|
ValidationFailure |
addFailure(java.lang.String message,
java.lang.String correctiveAction) |
ValidationException |
getOrThrowException() |
java.util.ArrayList<ValidationFailure> |
getValidationFailures() |
public ValidationFailure addFailure(java.lang.String message, @Nullable java.lang.String correctiveAction)
addFailure
in interface FailureCollector
public ValidationException getOrThrowException() throws ValidationException
getOrThrowException
in interface FailureCollector
ValidationException
public java.util.ArrayList<ValidationFailure> getValidationFailures()
getValidationFailures
in interface FailureCollector