com.atlassian.bamboo.plugins.git
Class GitCacheHandler

java.lang.Object
  extended by com.atlassian.bamboo.plugins.git.GitCacheHandler

public class GitCacheHandler
extends Object

Implementation of a cache handler for git. This caters for data displayed on the Repository Settings admin page for Git repositories.

Since:
2.6
See Also:
CacheHandler

Constructor Summary
GitCacheHandler()
           
 
Method Summary
 void deleteCaches(Collection<String> keys, com.opensymphony.xwork.ValidationAware feedback)
          Handles both Git and GitHub repositories.
 void deleteUnusedCaches(com.opensymphony.xwork.ValidationAware feedback)
          Handles both Git and GitHub repositories.
 Collection<CacheDescription> getCacheDescriptions()
          Handles both Git and GitHub repositories.
 void setAgentCommandSender(AgentCommandSender agentCommandSender)
           
 void setAgentManager(AgentManager agentManager)
           
 void setBuildDirectoryManager(BuildDirectoryManager buildDirectoryManager)
           
 void setCachedPlanManager(CachedPlanManager cachedPlanManager)
           
 void setCustomVariableContext(CustomVariableContext customVariableContext)
           
 void setGitCacheDirectoryUtils(GitCacheDirectoryUtils gitCacheDirectoryUtils)
           
 void setI18nResolver(com.atlassian.sal.api.message.I18nResolver i18nResolver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GitCacheHandler

public GitCacheHandler()
Method Detail

getCacheDescriptions

@NotNull
public Collection<CacheDescription> getCacheDescriptions()
Handles both Git and GitHub repositories.

See Also:
CacheHandler.getCacheDescriptions()

deleteCaches

public void deleteCaches(@NotNull
                         Collection<String> keys,
                         @NotNull
                         com.opensymphony.xwork.ValidationAware feedback)
Handles both Git and GitHub repositories.

See Also:
CacheHandler.deleteCaches(java.util.Collection, com.opensymphony.xwork.ValidationAware)

deleteUnusedCaches

public void deleteUnusedCaches(@NotNull
                               com.opensymphony.xwork.ValidationAware feedback)
Handles both Git and GitHub repositories.

See Also:
CacheHandler.deleteUnusedCaches(com.opensymphony.xwork.ValidationAware)

setCachedPlanManager

public void setCachedPlanManager(CachedPlanManager cachedPlanManager)

setBuildDirectoryManager

public void setBuildDirectoryManager(BuildDirectoryManager buildDirectoryManager)

setI18nResolver

public void setI18nResolver(com.atlassian.sal.api.message.I18nResolver i18nResolver)

setAgentManager

public void setAgentManager(AgentManager agentManager)

setAgentCommandSender

public void setAgentCommandSender(AgentCommandSender agentCommandSender)

setGitCacheDirectoryUtils

public void setGitCacheDirectoryUtils(GitCacheDirectoryUtils gitCacheDirectoryUtils)

setCustomVariableContext

public void setCustomVariableContext(CustomVariableContext customVariableContext)


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.