com.atlassian.jira.admin.contextproviders
Class AdminSummaryPanelContextProvider

java.lang.Object
  extended by com.atlassian.jira.admin.contextproviders.AdminSummaryPanelContextProvider
Direct Known Subclasses:
OptionPanelContextProvider, PluginPanelContextProvider, ProjectPanelContextProvider, SystemPanelContextProvider, UserPanelContextProvider

public abstract class AdminSummaryPanelContextProvider
extends Object

Abstract parent for all the Admin Summary standard panels

Since:
v4.4

Field Summary
protected  JiraAuthenticationContext authenticationContext
           
protected static String BASE_URL_KEY
           
protected  JiraHelper jiraHelper
           
protected  SimpleLinkManager linkManager
           
protected  VelocityRequestContextFactory requestContextFactory
           
 
Constructor Summary
AdminSummaryPanelContextProvider(VelocityRequestContextFactory requestContextFactory, SimpleLinkManager linkManager, JiraAuthenticationContext authenticationContext)
           
 
Method Summary
 String getBaseUrl()
           
 MapBuilder<String,Object> getContextMap(String sectionId, Map<String,Object> context, String nameKey, List<SimpleLinkSection> pluginSections)
           
 void init(Map<String,String> params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BASE_URL_KEY

protected static final String BASE_URL_KEY
See Also:
Constant Field Values

authenticationContext

protected final JiraAuthenticationContext authenticationContext

requestContextFactory

protected final VelocityRequestContextFactory requestContextFactory

linkManager

protected final SimpleLinkManager linkManager

jiraHelper

protected final JiraHelper jiraHelper
Constructor Detail

AdminSummaryPanelContextProvider

public AdminSummaryPanelContextProvider(VelocityRequestContextFactory requestContextFactory,
                                        SimpleLinkManager linkManager,
                                        JiraAuthenticationContext authenticationContext)
Method Detail

init

public void init(Map<String,String> params)
          throws com.atlassian.plugin.PluginParseException
Throws:
com.atlassian.plugin.PluginParseException

getContextMap

public MapBuilder<String,Object> getContextMap(String sectionId,
                                               Map<String,Object> context,
                                               String nameKey,
                                               List<SimpleLinkSection> pluginSections)

getBaseUrl

public String getBaseUrl()


Copyright © 2002-2012 Atlassian. All Rights Reserved.