Package org.apache.wicket.feedback
Class ComponentFeedbackMessageFilter
- java.lang.Object
-
- org.apache.wicket.feedback.ComponentFeedbackMessageFilter
-
- All Implemented Interfaces:
Serializable
,Predicate<FeedbackMessage>
,IFeedbackMessageFilter
,IClusterable
public class ComponentFeedbackMessageFilter extends Object implements IFeedbackMessageFilter
Filter for accepting feedback messages for a particular component.- Author:
- Jonathan Locke
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.apache.wicket.feedback.IFeedbackMessageFilter
ALL, NONE
-
-
Constructor Summary
Constructors Constructor Description ComponentFeedbackMessageFilter(Component component)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(FeedbackMessage message)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.wicket.feedback.IFeedbackMessageFilter
test
-
-
-
-
Constructor Detail
-
ComponentFeedbackMessageFilter
public ComponentFeedbackMessageFilter(Component component)
Constructor- Parameters:
component
- The component to filter on
-
-
Method Detail
-
accept
public boolean accept(FeedbackMessage message)
- Specified by:
accept
in interfaceIFeedbackMessageFilter
- Parameters:
message
- The message to test for inclusion- Returns:
- True if the message should be included, false to exclude it
-
-