public class RssExecutionDirectoryManagerImpl extends Object implements RssExecutionDirectoryManager
Modifier and Type | Field and Description |
---|---|
static String |
DIRECTORY_FORMAT |
static String |
HASHED_BRANCH_PREFIX |
Constructor and Description |
---|
RssExecutionDirectoryManagerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
cleanExecutionCacheDirectory(long repositoryId)
Clean RSS execution cache for whole repository (all branches)
|
void |
cleanExecutionCacheDirectory(long repositoryId,
String branch)
Clean RSS execution cache for given repository and branch
|
Path |
getRssExecutionDirectory(long repositoryId,
String branch)
Get directory for running RSS and storing execution cache
|
public static final String DIRECTORY_FORMAT
public static final String HASHED_BRANCH_PREFIX
public Path getRssExecutionDirectory(long repositoryId, @NotNull String branch)
RssExecutionDirectoryManager
getRssExecutionDirectory
in interface RssExecutionDirectoryManager
public void cleanExecutionCacheDirectory(long repositoryId)
RssExecutionDirectoryManager
cleanExecutionCacheDirectory
in interface RssExecutionDirectoryManager
public void cleanExecutionCacheDirectory(long repositoryId, @NotNull String branch)
RssExecutionDirectoryManager
cleanExecutionCacheDirectory
in interface RssExecutionDirectoryManager
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences