Class 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 Detail

      • AttachmentCountContextProvider

        public AttachmentCountContextProvider()
    • Method Detail

      • init

        public void init​(Map<String,​String> params)
                  throws com.atlassian.plugin.PluginParseException
        Specified by:
        init in interface com.atlassian.plugin.web.ContextProvider
        Throws:
        com.atlassian.plugin.PluginParseException
      • getContextMap

        public Map<String,​Object> getContextMap​(Map<String,​Object> context)
        Specified by:
        getContextMap in interface com.atlassian.plugin.web.ContextProvider
      • setAttachmentManager

        public void setAttachmentManager​(AttachmentManager attachmentManager)