Interface Validator


public interface Validator
Validator.
Since:
0.3
  • Method Summary

    Modifier and Type
    Method
    Description
    Name of this validator.
    void
    Validate and throws exception if there are any problems.
  • Method Details

    • 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.