com.atlassian.confluence.plugins.email.conditions
Class StopWatchingEmailLinkCondition

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

public class StopWatchingEmailLinkCondition
extends AbstractNotificationCondition

Determines if a "Stop watching" link variant should be shown in the footer of notification emails.

Since:
4.2

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

Constructor Detail

StopWatchingEmailLinkCondition

public StopWatchingEmailLinkCondition()
Method Detail

init

public void init(Map<String,String> params)
          throws com.atlassian.plugin.PluginParseException
Specified by:
init in interface com.atlassian.plugin.web.Condition
Overrides:
init in class AbstractNotificationCondition
Throws:
com.atlassian.plugin.PluginParseException

shouldDisplay

protected boolean shouldDisplay(NotificationContext context)
Specified by:
shouldDisplay in class AbstractNotificationCondition


Copyright © 2003-2012 Atlassian. All Rights Reserved.