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:
com.atlassian.plugin.web.baseconditions.BaseCondition, com.atlassian.plugin.web.Condition
Direct Known Subclasses:
ContentLikedByRecipientCondition, ManageNotificationsLinkCondition, ShowEmailLikeLinkCondition, ShowLikedCommentEmailReplyButtonCondition, ShowLikedPageEmailViewBlogPostButtonCondition, ShowLikedPageEmailViewPageButtonCondition

public abstract class AbstractNotificationCondition
extends java.lang.Object
implements com.atlassian.plugin.web.Condition

Base class for any Conditions that work with a NotificationContext.

Since:
4.2

Constructor Summary
AbstractNotificationCondition()
           
 
Method Summary
 void init(java.util.Map<java.lang.String,java.lang.String> params)
           
 boolean shouldDisplay(java.util.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(java.util.Map<java.lang.String,java.lang.String> params)
          throws com.atlassian.plugin.PluginParseException
Specified by:
init in interface com.atlassian.plugin.web.Condition
Throws:
com.atlassian.plugin.PluginParseException

shouldDisplay

public boolean shouldDisplay(java.util.Map context)
Specified by:
shouldDisplay in interface com.atlassian.plugin.web.Condition

shouldDisplay

protected abstract boolean shouldDisplay(NotificationContext context)


Copyright © 2003-2014 Atlassian. All Rights Reserved.