public class SubTasksContextProvider extends Object implements CacheableContextProvider
Modifier and Type | Class and Description |
---|---|
class |
SubTasksContextProvider.SubTaskTableRenderer |
Constructor and Description |
---|
SubTasksContextProvider(SubTaskManager subTaskManager,
JiraAuthenticationContext authenticationContext,
VelocityRequestContextFactory velocityRequestContextFactory,
AggregateTimeTrackingCalculatorFactory aggregateTimeTrackingCalculatorFactory) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getContextMap(Map<String,Object> context) |
protected javax.servlet.http.HttpServletRequest |
getRequest() |
String |
getUniqueContextKey(Map<String,Object> context)
Return a key that is unique for the scope that this context should be scoped.
|
void |
init(Map<String,String> params) |
public SubTasksContextProvider(SubTaskManager subTaskManager, JiraAuthenticationContext authenticationContext, VelocityRequestContextFactory velocityRequestContextFactory, AggregateTimeTrackingCalculatorFactory aggregateTimeTrackingCalculatorFactory)
public void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.web.ContextProvider
com.atlassian.plugin.PluginParseException
public String getUniqueContextKey(Map<String,Object> context)
CacheableContextProvider
getUniqueContextKey
in interface CacheableContextProvider
context
- the context passed into the getContextMap method.public Map<String,Object> getContextMap(Map<String,Object> context)
getContextMap
in interface com.atlassian.plugin.web.ContextProvider
protected javax.servlet.http.HttpServletRequest getRequest()
Copyright © 2002-2021 Atlassian. All Rights Reserved.