Interface RuleBuilder.Extended<T>

  • Enclosing interface:
    RuleBuilder<T>

    public static interface RuleBuilder.Extended<T>
    • Method Detail

      • otherwiseReport

        Rule.Extended<T> otherwiseReport​(String message,
                                         Object... formatArguments)
        Parameters:
        message - the message you wish to add to the pipe in case of a failed validation.
        formatArguments - the extra arguments you wish to place on the standardized format '%s' placeholders.
        Returns:
        the finished Rule, ready to validate.