org.apache.wicket.feedback
Class ErrorLevelFeedbackMessageFilter
java.lang.Object
org.apache.wicket.feedback.ErrorLevelFeedbackMessageFilter
- All Implemented Interfaces:
- Serializable, IFeedbackMessageFilter, IClusterable
public class ErrorLevelFeedbackMessageFilter
- extends Object
- implements IFeedbackMessageFilter
Filter for accepting feedback messages of a certain error level.
- Author:
- Jonathan Locke
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorLevelFeedbackMessageFilter
public ErrorLevelFeedbackMessageFilter(int minimumErrorLevel)
- Filters messages with an greater or equals level than minimumErrorLevel.
- Parameters:
minimumErrorLevel
- The component to filter on, the constraints can be:
FeedbackMessage.SUCCESS
FeedbackMessage.UNDEFINED
FeedbackMessage.DEBUG
FeedbackMessage.INFO
FeedbackMessage.WARNING
FeedbackMessage.ERROR
FeedbackMessage.FATAL
accept
public boolean accept(FeedbackMessage message)
- Specified by:
accept
in interface IFeedbackMessageFilter
- Parameters:
message
- The message to test for inclusion
- Returns:
- True if the message should be included, false to exclude it
- See Also:
IFeedbackMessageFilter.accept(org.apache.wicket.feedback.FeedbackMessage)
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.