Class AbstractNotificationCondition
java.lang.Object
com.atlassian.confluence.plugin.descriptor.mail.conditions.AbstractNotificationCondition
- All Implemented Interfaces:
com.atlassian.plugin.web.api.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 any
Condition
s that work with a NotificationContext
.- Since:
- 4.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected abstract boolean
shouldDisplay
(NotificationContext context) boolean
shouldDisplay
(Map context)
-
Constructor Details
-
AbstractNotificationCondition
public AbstractNotificationCondition()
-
-
Method Details
-
init
- Specified by:
init
in interfacecom.atlassian.plugin.web.Condition
- Throws:
com.atlassian.plugin.PluginParseException
-
shouldDisplay
- Specified by:
shouldDisplay
in interfacecom.atlassian.plugin.web.Condition
-
shouldDisplay
-