Interface ValidatorMacro

  • All Known Implementing Classes:
    ValidatorMacroImpl

    )
    public interface ValidatorMacro
    Allows support for "validator macros", a simple-minded way of combining several related valiations together under a single name. The service's configuration maps string keys (macro names) to string values (validation constraints).
    Since:
    5.2.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
       validatorMacro)
      Given a potential validator macro (a simple string name), returns the value for that macro, a comma-separated list of validation constraints.
    • Method Detail

      • valueForMacro

          validatorMacro)
        Given a potential validator macro (a simple string name), returns the value for that macro, a comma-separated list of validation constraints.
        Returns:
        constraints, or null if no such validator macro