Package org.apache.wicket.feedback
Interface IFeedbackMessageFilter
-
- All Superinterfaces:
IClusterable
,Predicate<FeedbackMessage>
,Serializable
- All Known Implementing Classes:
ComponentFeedbackMessageFilter
,ContainerFeedbackMessageFilter
,DefaultCleanupFeedbackMessageFilter
,ErrorLevelFeedbackMessageFilter
,ExactLevelFeedbackMessageFilter
- 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 interface IFeedbackMessageFilter extends IClusterable, Predicate<FeedbackMessage>
Interface for filtering feedback messages.- Author:
- Jonathan Locke
-
-
Field Summary
Fields Modifier and Type Field Description static IFeedbackMessageFilter
ALL
Filter that returns simply all available messages.static IFeedbackMessageFilter
NONE
Filter that does not match any message
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
accept(FeedbackMessage message)
default boolean
test(FeedbackMessage message)
-
-
-
Field Detail
-
ALL
static final IFeedbackMessageFilter ALL
Filter that returns simply all available messages.
-
NONE
static final IFeedbackMessageFilter NONE
Filter that does not match any message
-
-
Method Detail
-
accept
boolean accept(FeedbackMessage message)
- Parameters:
message
- The message to test for inclusion- Returns:
- True if the message should be included, false to exclude it
-
test
default boolean test(FeedbackMessage message)
- Specified by:
test
in interfacePredicate<FeedbackMessage>
-
-