Package kos.api
Interface Validation<T>
-
- All Known Implementing Classes:
DefaultValidation,DefaultValidation.AlwaysValid
public interface Validation<T>A validation rule for the given type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<T>getTypeOfTheObjectBeingValidated()Returns a static representation of the object being validated.io.vertx.core.Future<T>validate(T object, Class<T> targetClass)Validates theobject.
-