com.atlassian.jira.projectconfig.contextproviders
Class ReturnToConfigContextProvider

java.lang.Object
  extended by com.atlassian.jira.projectconfig.contextproviders.ReturnToConfigContextProvider
All Implemented Interfaces:
com.atlassian.plugin.web.baseconditions.BaseCondition, com.atlassian.plugin.web.Condition, com.atlassian.plugin.web.ContextProvider

public class ReturnToConfigContextProvider
extends Object
implements com.atlassian.plugin.web.ContextProvider, com.atlassian.plugin.web.Condition

Context Provider for the "Back to Project Config link"

Since:
v4.4

Constructor Summary
ReturnToConfigContextProvider(VelocityRequestContextFactory contextFactory, JiraAuthenticationContext authenticationContext, ProjectService projectService)
           
 
Method Summary
 Map<String,Object> getContextMap(Map<String,Object> context)
           
 void init(Map<String,String> params)
           
 boolean shouldDisplay(Map<String,Object> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReturnToConfigContextProvider

public ReturnToConfigContextProvider(VelocityRequestContextFactory contextFactory,
                                     JiraAuthenticationContext authenticationContext,
                                     ProjectService projectService)
Method Detail

init

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

shouldDisplay

public boolean shouldDisplay(Map<String,Object> context)
Specified by:
shouldDisplay in interface com.atlassian.plugin.web.Condition

getContextMap

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


Copyright © 2002-2014 Atlassian. All Rights Reserved.