com.atlassian.bamboo.jira.jirametadata
Class JiraMetaDataManagerCache

java.lang.Object
  extended by com.atlassian.bamboo.jira.jirametadata.JiraMetaDataManagerCache
All Implemented Interfaces:
JiraMetaDataManager

public class JiraMetaDataManagerCache
extends java.lang.Object
implements JiraMetaDataManager


Constructor Summary
JiraMetaDataManagerCache(JiraMetaDataManager delegate, long expiryPeriod, java.util.concurrent.Executor executor)
           
 
Method Summary
 void clearCache()
          Clears any cached data, if applicable.
 java.util.Map<java.lang.String,JiraStatus> getJiraStatusMap()
          Retrieves a map of JiraStatus objects to their code for matching with RemoteIssue contents
 java.util.Map<java.lang.String,JiraType> getJiraTypeMap()
          Retrieves a map of JiraType objects to their type code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraMetaDataManagerCache

public JiraMetaDataManagerCache(JiraMetaDataManager delegate,
                                long expiryPeriod,
                                java.util.concurrent.Executor executor)
Method Detail

clearCache

public void clearCache()
Description copied from interface: JiraMetaDataManager

Clears any cached data, if applicable.

Specified by:
clearCache in interface JiraMetaDataManager

getJiraStatusMap

@NotNull
public java.util.Map<java.lang.String,JiraStatus> getJiraStatusMap()
Description copied from interface: JiraMetaDataManager
Retrieves a map of JiraStatus objects to their code for matching with RemoteIssue contents

Specified by:
getJiraStatusMap in interface JiraMetaDataManager
Returns:

getJiraTypeMap

@NotNull
public java.util.Map<java.lang.String,JiraType> getJiraTypeMap()
Description copied from interface: JiraMetaDataManager
Retrieves a map of JiraType objects to their type code.

Specified by:
getJiraTypeMap in interface JiraMetaDataManager
Returns:


Copyright © 2011 Atlassian. All Rights Reserved.