Class RssExecutionDirectoryManagerImpl
java.lang.Object
com.atlassian.bamboo.configuration.external.rss.RssExecutionDirectoryManagerImpl
- All Implemented Interfaces:
RssExecutionDirectoryManager
public class RssExecutionDirectoryManagerImpl
extends Object
implements RssExecutionDirectoryManager
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanExecutionCacheDirectory
(long repositoryId) Clean RSS execution cache for whole repository (all branches)void
cleanExecutionCacheDirectory
(long repositoryId, @NotNull String branch) Clean RSS execution cache for given repository and branchgetAllExistingRssExecutionDirectories
(long repositoryId) Get all existing directories for running RSS and storing execution cache for the repository with this repositoryId.getRssExecutionDirectory
(long repositoryId, @NotNull String branch) Get directory for running RSS and storing execution cache
-
Field Details
-
DIRECTORY_FORMAT
- See Also:
-
HASHED_BRANCH_PREFIX
- See Also:
-
-
Constructor Details
-
RssExecutionDirectoryManagerImpl
public RssExecutionDirectoryManagerImpl()
-
-
Method Details
-
getRssExecutionDirectory
Description copied from interface:RssExecutionDirectoryManager
Get directory for running RSS and storing execution cache- Specified by:
getRssExecutionDirectory
in interfaceRssExecutionDirectoryManager
-
getAllExistingRssExecutionDirectories
Description copied from interface:RssExecutionDirectoryManager
Get all existing directories for running RSS and storing execution cache for the repository with this repositoryId. There is at most one directory for each VCS branch of the repository. It exists if RSS processing was run for given branch.- Specified by:
getAllExistingRssExecutionDirectories
in interfaceRssExecutionDirectoryManager
-
cleanExecutionCacheDirectory
public void cleanExecutionCacheDirectory(long repositoryId) Description copied from interface:RssExecutionDirectoryManager
Clean RSS execution cache for whole repository (all branches)- Specified by:
cleanExecutionCacheDirectory
in interfaceRssExecutionDirectoryManager
-
cleanExecutionCacheDirectory
Description copied from interface:RssExecutionDirectoryManager
Clean RSS execution cache for given repository and branch- Specified by:
cleanExecutionCacheDirectory
in interfaceRssExecutionDirectoryManager
-