com.atlassian.confluence.plugin.descriptor.web.conditions.user
Class UserWatchingPageCondition
java.lang.Object
com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
com.atlassian.confluence.plugin.descriptor.web.conditions.user.UserWatchingPageCondition
- All Implemented Interfaces:
- Condition
public class UserWatchingPageCondition
- extends BaseConfluenceCondition
Returns true if the user has a watch specifically on the current page. That is, for a user with a space-wide watch this condition will return false.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserWatchingPageCondition
public UserWatchingPageCondition()
shouldDisplay
public boolean shouldDisplay(WebInterfaceContext context)
- Specified by:
shouldDisplay
in class BaseConfluenceCondition
setNotificationManager
public void setNotificationManager(NotificationManager notificationManager)