- 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
Modifier and TypeFieldDescriptionstatic final IFeedbackMessageFilter
Filter that returns simply all available messages.static final IFeedbackMessageFilter
Filter that does not match any message -
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(FeedbackMessage message) default boolean
test
(FeedbackMessage message)
-
Field Details
-
ALL
Filter that returns simply all available messages. -
NONE
Filter that does not match any message
-
-
Method Details
-
accept
- Parameters:
message
- The message to test for inclusion- Returns:
- True if the message should be included, false to exclude it
-
test
- Specified by:
test
in interfacePredicate<FeedbackMessage>
-