com.atlassian.confluence.plugin.descriptor.mail.conditions
Class AbstractNotificationCondition
java.lang.Object
com.atlassian.confluence.plugin.descriptor.mail.conditions.AbstractNotificationCondition
- All Implemented Interfaces:
- Condition
public abstract class AbstractNotificationCondition
- extends Object
- implements Condition
Base class for any Condition
s that work with a NotificationContext
.
- Since:
- 4.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractNotificationCondition
public AbstractNotificationCondition()
init
public void init(Map<String,String> params)
throws PluginParseException
- Specified by:
init
in interface Condition
- Throws:
PluginParseException
shouldDisplay
public boolean shouldDisplay(Map context)
- Specified by:
shouldDisplay
in interface Condition
shouldDisplay
protected abstract boolean shouldDisplay(NotificationContext context)