Interface MessageValidator.Validation<M extends PMessage<M>,​E extends java.lang.Exception>

  • Enclosing class:
    MessageValidator<M extends PMessage<M>,​E extends java.lang.Exception>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface MessageValidator.Validation<M extends PMessage<M>,​E extends java.lang.Exception>
    • Method Detail

      • test

        boolean test​(M message)
              throws E extends java.lang.Exception
        Throws:
        E extends java.lang.Exception
      • collect

        default boolean collect​(M message,
                                java.util.function.Consumer<java.lang.String> consumer)