Interface ValidatorCreator<V>


  • public interface ValidatorCreator<V>
    TODO
    Since:
    2.5.2
    Author:
    Tony Chemit - chemit@codelutin.com
    • Method Detail

      • newValidator

        <O> V newValidator​(NuitonValidatorProvider provider,
                           Class<O> type,
                           String context,
                           NuitonValidatorScope... scopes)
        Given the parameters, instanciate a new ValidatorCreator.
        Type Parameters:
        O - type of object to validate
        Parameters:
        provider - the delegate validator provider
        type - the type of object to validate
        context - the context of validation (can be null)
        scopes - scopes to use (if none given, will use all available scopes)
        Returns:
        the new instance of bean validator