com.atlassian.confluence.plugin.descriptor.mail.conditions
Class AbstractNotificationCondition

java.lang.Object
  extended by com.atlassian.confluence.plugin.descriptor.mail.conditions.AbstractNotificationCondition
All Implemented Interfaces:
Condition

public abstract class AbstractNotificationCondition
extends Object
implements Condition

Base class for any Conditions that work with a NotificationContext.

Since:
4.2

Constructor Summary
AbstractNotificationCondition()
           
 
Method Summary
 void init(Map<String,String> params)
           
 boolean shouldDisplay(Map context)
           
protected abstract  boolean shouldDisplay(NotificationContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractNotificationCondition

public AbstractNotificationCondition()
Method Detail

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)


Confluence is developed by Atlassian.