Package com.qulice.spi
Interface Validator
-
public interface Validator
Validator.- Since:
- 0.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
name()
Name of this validator.void
validate(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.
-
-