Package com.atlassian.bamboo.plugins.git
Class GitCacheHandler
java.lang.Object
com.atlassian.bamboo.plugins.git.GitCacheHandler
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:
-
Constructor Summary
ConstructorDescriptionGitCacheHandler
(CachedPlanManager cachedPlanManager, BuildDirectoryManager buildDirectoryManager, GitCacheDirectoryUtils gitCacheDirectoryUtils, com.atlassian.sal.api.message.I18nResolver i18nResolver, AgentManager agentManager, AgentCommandSender agentCommandSender, CustomVariableContext customVariableContext) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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>
Handles both Git and GitHub repositories.
-
Constructor Details
-
GitCacheHandler
@Inject public GitCacheHandler(CachedPlanManager cachedPlanManager, BuildDirectoryManager buildDirectoryManager, GitCacheDirectoryUtils gitCacheDirectoryUtils, com.atlassian.sal.api.message.I18nResolver i18nResolver, AgentManager agentManager, AgentCommandSender agentCommandSender, CustomVariableContext customVariableContext)
-
-
Method Details
-
getCacheDescriptions
Handles both Git and GitHub repositories.- See Also:
-
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.
-