Package org.apache.wicket.feedback
Class ExactLevelFeedbackMessageFilter
- java.lang.Object
-
- org.apache.wicket.feedback.ExactLevelFeedbackMessageFilter
-
- All Implemented Interfaces:
Serializable
,Predicate<FeedbackMessage>
,IFeedbackMessageFilter
,IClusterable
public class ExactLevelFeedbackMessageFilter extends Object implements IFeedbackMessageFilter
Filter for accepting feedback messages of a certain error level.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.apache.wicket.feedback.IFeedbackMessageFilter
ALL, NONE
-
-
Constructor Summary
Constructors Constructor Description ExactLevelFeedbackMessageFilter(int level)
-
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
-
ExactLevelFeedbackMessageFilter
public ExactLevelFeedbackMessageFilter(int level)
-
-
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
-
-