Class ReadWriteAccessModeCondition
java.lang.Object
com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
com.atlassian.confluence.plugin.descriptor.web.conditions.ReadWriteAccessModeCondition
- All Implemented Interfaces:
com.atlassian.plugin.web.api.baseconditions.BaseCondition
,com.atlassian.plugin.web.Condition
This condition checks if the current access mode is READ_WRITE
- Since:
- 6.8.0
-
Field Summary
Fields inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
CONTEXT_KEY_HELPER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setAccessModeService
(AccessModeService accessModeService) protected boolean
shouldDisplay
(WebInterfaceContext context) Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
init, shouldDisplay
-
Constructor Details
-
ReadWriteAccessModeCondition
public ReadWriteAccessModeCondition()
-
-
Method Details
-
shouldDisplay
- Specified by:
shouldDisplay
in classBaseConfluenceCondition
-
setAccessModeService
-