@FunctionalInterface public interface IFeedbackMessageFilter extends IClusterable, Predicate<FeedbackMessage>
Modifier and Type | Field and Description |
---|---|
static IFeedbackMessageFilter |
ALL
Filter that returns simply all available messages.
|
static IFeedbackMessageFilter |
NONE
Filter that does not match any message
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(FeedbackMessage message) |
default boolean |
test(FeedbackMessage message) |
static final IFeedbackMessageFilter ALL
static final IFeedbackMessageFilter NONE
boolean accept(FeedbackMessage message)
message
- The message to test for inclusiondefault boolean test(FeedbackMessage message)
test
in interface Predicate<FeedbackMessage>
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.