Class AttachmentCountContextProvider
java.lang.Object
com.atlassian.confluence.pages.attachments.AttachmentCountContextProvider
- All Implemented Interfaces:
com.atlassian.plugin.web.ContextProvider
public class AttachmentCountContextProvider
extends Object
implements com.atlassian.plugin.web.ContextProvider
Provides the number of attachments on a given page.
- Since:
- 5.10
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContextMap
(Map<String, Object> context) void
void
setAttachmentManager
(AttachmentManager attachmentManager)
-
Constructor Details
-
AttachmentCountContextProvider
public AttachmentCountContextProvider()
-
-
Method Details
-
init
- Specified by:
init
in interfacecom.atlassian.plugin.web.ContextProvider
- Throws:
com.atlassian.plugin.PluginParseException
-
getContextMap
- Specified by:
getContextMap
in interfacecom.atlassian.plugin.web.ContextProvider
-
setAttachmentManager
-