Interface Validator
-
- All Known Subinterfaces:
ContinuingValidationBuilder<T>
public interface Validator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetMessage()booleanvalidate()
-
-
-
Method Detail
-
validate
boolean validate()
- Returns:
- boolean true if all rules pass. False if at least one rule fails.
-
getMessage
String getMessage()
- Returns:
- the message containing information about the validation. Default to 'Nothing to report'.
-
-