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) voidvoidsetAttachmentManager(AttachmentManager attachmentManager)
-
Constructor Details
-
AttachmentCountContextProvider
public AttachmentCountContextProvider()
-
-
Method Details
-
init
- Specified by:
initin interfacecom.atlassian.plugin.web.ContextProvider- Throws:
com.atlassian.plugin.PluginParseException
-
getContextMap
- Specified by:
getContextMapin interfacecom.atlassian.plugin.web.ContextProvider
-
setAttachmentManager
-