Package com.qulice.spi
Interface Validator
public interface Validator
Validator.
- Since:
- 0.3
-
Method Summary
Modifier and TypeMethodDescriptionname()
Name of this validator.void
validate
(Environment env) Validate and throws exception if there are any problems.
-
Method Details
-
validate
Validate and throws exception if there are any problems.- Parameters:
env
- The environment to work with- Throws:
ValidationException
- In case of any violations found
-
name
String name()Name of this validator.- Returns:
- Name of this validator.
-