Class UserWatchingSpaceCondition
java.lang.Object
com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
com.atlassian.confluence.plugin.descriptor.web.conditions.user.UserWatchingSpaceCondition
- All Implemented Interfaces:
com.atlassian.plugin.web.api.baseconditions.BaseCondition
,com.atlassian.plugin.web.Condition
Returns true if the user is watching the current space. Returns false if the user is only watching the space for a
specific content type.
-
Field Summary
Fields inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
CONTEXT_KEY_HELPER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setNotificationManager
(NotificationManager notificationManager) boolean
shouldDisplay
(WebInterfaceContext context) Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
init, shouldDisplay
-
Constructor Details
-
UserWatchingSpaceCondition
public UserWatchingSpaceCondition()
-
-
Method Details
-
shouldDisplay
- Specified by:
shouldDisplay
in classBaseConfluenceCondition
-
setNotificationManager
-