public interface Validatable
This is the abstract interface for an object, that can be
validated
.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvalidate()
This method performs the actual validation.default void
-
Method Details
-
validate
ValidationResult validate()This method performs the actual validation.- Returns:
ValidationResult
the validation failure.- See Also:
-
validateOrThrow
- Throws:
ValidationFailedException
- if thevalidation
failed.
-