Package com.qulice.spi
Interface Validator
-
public interface ValidatorValidator.- Since:
- 0.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringname()Name of this validator.voidvalidate(Environment env)Validate and throws exception if there are any problems.
-
-
-
Method Detail
-
validate
void validate(Environment env) throws ValidationException
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.
-
-