Package net.morimekta.providence.util
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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
collect(M message, java.util.function.Consumer<java.lang.String> consumer)
boolean
test(M message)
-