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:
com.atlassian.plugin.web.api.baseconditions.BaseCondition,com.atlassian.plugin.web.Condition
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.
-
Field Summary
Fields inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
CONTEXT_KEY_HELPER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetNotificationManager(NotificationManager notificationManager) booleanshouldDisplay(WebInterfaceContext context) Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
init, shouldDisplay
-
Constructor Details
-
UserWatchingPageCondition
public UserWatchingPageCondition()
-
-
Method Details
-
shouldDisplay
- Specified by:
shouldDisplayin classBaseConfluenceCondition
-
setNotificationManager
-