Package com.atlassian.bamboo.plugins.git
Class GitCacheHandler
- java.lang.Object
-
- 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
Constructors Constructor Description GitCacheHandler(CachedPlanManager cachedPlanManager, BuildDirectoryManager buildDirectoryManager, GitCacheDirectoryUtils gitCacheDirectoryUtils, com.atlassian.sal.api.message.I18nResolver i18nResolver, AgentManager agentManager, AgentCommandSender agentCommandSender, CustomVariableContext customVariableContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteCaches(@NotNull Collection<String> keys, @NotNull com.opensymphony.xwork.ValidationAware feedback)
Handles both Git and GitHub repositories.void
deleteUnusedCaches(@NotNull com.opensymphony.xwork.ValidationAware feedback)
Handles both Git and GitHub repositories.@NotNull Collection<CacheDescription>
getCacheDescriptions()
Handles both Git and GitHub repositories.
-
-
-
Constructor Detail
-
GitCacheHandler
@Inject public GitCacheHandler(CachedPlanManager cachedPlanManager, BuildDirectoryManager buildDirectoryManager, GitCacheDirectoryUtils gitCacheDirectoryUtils, com.atlassian.sal.api.message.I18nResolver i18nResolver, AgentManager agentManager, AgentCommandSender agentCommandSender, CustomVariableContext customVariableContext)
-
-
Method Detail
-
getCacheDescriptions
@NotNull public @NotNull Collection<CacheDescription> getCacheDescriptions()
Handles both Git and GitHub repositories.- See Also:
CacheHandler.getCacheDescriptions()
-
deleteCaches
public void deleteCaches(@NotNull @NotNull Collection<String> keys, @NotNull @NotNull com.opensymphony.xwork.ValidationAware feedback)
Handles both Git and GitHub repositories.
-
deleteUnusedCaches
public void deleteUnusedCaches(@NotNull @NotNull com.opensymphony.xwork.ValidationAware feedback)
Handles both Git and GitHub repositories.
-
-