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.baseconditions.BaseCondition
,com.atlassian.plugin.web.Condition
public class HasAttachmentCondition extends BaseConfluenceCondition
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
Constructors Constructor Description HasAttachmentCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setAttachmentManager(AttachmentManager attachmentManager)
protected boolean
shouldDisplay(WebInterfaceContext webInterfaceContext)
-
Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
init, shouldDisplay
-
-
-
-
Method Detail
-
shouldDisplay
protected boolean shouldDisplay(WebInterfaceContext webInterfaceContext)
- Specified by:
shouldDisplay
in classBaseConfluenceCondition
-
setAttachmentManager
public void setAttachmentManager(AttachmentManager attachmentManager)
-
-