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
Fields Modifier and Type Field Description static String
DIRECTORY_FORMAT
static String
HASHED_BRANCH_PREFIX
-
Constructor Summary
Constructors Constructor Description RssExecutionDirectoryManagerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 branchPath
getRssExecutionDirectory(long repositoryId, @NotNull String branch)
Get directory for running RSS and storing execution cache
-
-
-
Field Detail
-
DIRECTORY_FORMAT
public static final String DIRECTORY_FORMAT
- See Also:
- Constant Field Values
-
HASHED_BRANCH_PREFIX
public static final String HASHED_BRANCH_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRssExecutionDirectory
public Path getRssExecutionDirectory(long repositoryId, @NotNull @NotNull String branch)
Description copied from interface:RssExecutionDirectoryManager
Get directory for running RSS and storing execution cache- Specified by:
getRssExecutionDirectory
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
public void cleanExecutionCacheDirectory(long repositoryId, @NotNull @NotNull String branch)
Description copied from interface:RssExecutionDirectoryManager
Clean RSS execution cache for given repository and branch- Specified by:
cleanExecutionCacheDirectory
in interfaceRssExecutionDirectoryManager
-
-