Class ValidatorImpl

  • All Implemented Interfaces:
    Validator

    public class ValidatorImpl
    extends java.lang.Object
    implements Validator
    • Constructor Detail

      • ValidatorImpl

        public ValidatorImpl()
    • Method Detail

      • getErrorMessages

        public java.util.List<java.lang.String> getErrorMessages​(java.util.List<ValidatorConfig.CheckableConfig> checkableConfigs,
                                                                 Language language,
                                                                 boolean returnImmediate)
        Description copied from interface: Validator
        Gets the error messages for the given Checkable.
        Specified by:
        getErrorMessages in interface Validator
        Parameters:
        checkableConfigs - the Checkables to be checked.
        language - the language of the errors
        returnImmediate - after the first checkable who returns false
        Returns:
        a list of errors