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 Constructor Description AttachmentCountContextProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getContextMap(Map<String,Object> context)
void
init(Map<String,String> params)
void
setAttachmentManager(AttachmentManager attachmentManager)
-
-
-
Method Detail
-
init
public void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException
- Specified by:
init
in interfacecom.atlassian.plugin.web.ContextProvider
- Throws:
com.atlassian.plugin.PluginParseException
-
getContextMap
public Map<String,Object> getContextMap(Map<String,Object> context)
- Specified by:
getContextMap
in interfacecom.atlassian.plugin.web.ContextProvider
-
setAttachmentManager
public void setAttachmentManager(AttachmentManager attachmentManager)
-
-