Interface ValidatableService
- All Known Implementing Classes:
DefaultValidatableService
public interface ValidatableService
Interface to process the validatable supplier and throws a
ValidationException with the ValidationErrors when errors > 0.-
Method Summary
-
Method Details
-
execute
Executes the validatable supplier to collect any validation error after execution- Parameters:
validatable- the validatable supplier.- Returns:
- the expected result after successful validation
- Throws:
ValidationException- when there are validation errors after completion of the given supplier.
-