Class AbstractNotificationCondition
- java.lang.Object
- 
- 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 Object implements com.atlassian.plugin.web.Condition Base class for anyConditions that work with aNotificationContext.- Since:
- 4.2
 
- 
- 
Constructor SummaryConstructors Constructor Description AbstractNotificationCondition()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidinit(Map<String,String> params)protected abstract booleanshouldDisplay(NotificationContext context)booleanshouldDisplay(Map context)
 
- 
- 
- 
Method Detail- 
initpublic void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException - Specified by:
- initin interface- com.atlassian.plugin.web.Condition
- Throws:
- com.atlassian.plugin.PluginParseException
 
 - 
shouldDisplaypublic boolean shouldDisplay(Map context) - Specified by:
- shouldDisplayin interface- com.atlassian.plugin.web.Condition
 
 - 
shouldDisplayprotected abstract boolean shouldDisplay(NotificationContext context) 
 
- 
 
-