Package com.evolveum.midpoint.util
Interface Validator<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface for object validation (mostly to be used in tests).
- Author:
- Radovan Semancik
-
Method Summary
-
Method Details
-
validate
Validate the provided object. Throws appropriate exception if the object is not valid.- Parameters:
object
- object to validatename
- short string name of the object. Designed to be used in exception messages.- Throws:
Exception
- appropriate exception if the object is not valid.
-