com.atlassian.jira.projectconfig.contextproviders
Class IssueTypeConfigContextProvider

java.lang.Object
  extended by com.atlassian.jira.projectconfig.contextproviders.IssueTypeConfigContextProvider
All Implemented Interfaces:
CacheableContextProvider, com.atlassian.plugin.web.ContextProvider

public class IssueTypeConfigContextProvider
extends Object
implements CacheableContextProvider

Context Provider for rendering the list of Issue Types in the project admin sidebar.

Since:
v6.2

Nested Class Summary
static class IssueTypeConfigContextProvider.IssueTypeConfigData
           
 
Constructor Summary
IssueTypeConfigContextProvider(OrderFactory orderFactory)
           
 
Method Summary
 Map<String,Object> getContextMap(Map<String,Object> context)
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueTypeConfigContextProvider

public IssueTypeConfigContextProvider(OrderFactory orderFactory)
Method Detail

getUniqueContextKey

public String getUniqueContextKey(Map<String,Object> context)
Description copied from interface: CacheableContextProvider
Return a key that is unique for the scope that this context should be scoped. E.g. If the context is unique per issue, per user return "JRA-11234:nmenere"

Specified by:
getUniqueContextKey in interface CacheableContextProvider
Parameters:
context - the context passed into the getContextMap method.
Returns:
a key that is unique for the scope that this context

init

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

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.