Class HasAttachmentCondition
java.lang.Object
com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
com.atlassian.confluence.plugin.descriptor.web.conditions.HasAttachmentCondition
- All Implemented Interfaces:
com.atlassian.plugin.web.api.baseconditions.BaseCondition
,com.atlassian.plugin.web.Condition
Checks if the page in this context has any attachments
-
Field Summary
Fields inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
CONTEXT_KEY_HELPER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setAttachmentManager
(AttachmentManager attachmentManager) protected boolean
shouldDisplay
(WebInterfaceContext webInterfaceContext) Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
init, shouldDisplay
-
Constructor Details
-
HasAttachmentCondition
public HasAttachmentCondition()
-
-
Method Details
-
shouldDisplay
- Specified by:
shouldDisplay
in classBaseConfluenceCondition
-
setAttachmentManager
-