Class GitRepositoryDescriptor
- java.lang.Object
-
- com.atlassian.bamboo.testutils.FilebasedRepositoryDescriptor
-
- com.atlassian.bamboo.testutils.vcs.git.GitRepositoryDescriptor
-
- All Implemented Interfaces:
RepositoryDescriptor
public class GitRepositoryDescriptor extends FilebasedRepositoryDescriptor
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteRepository()
void
forceDeleteRepository()
String
getRepositoryLocationString()
boolean
isReadOnly()
static GitRepositoryDescriptor
readOnlyRepository(@NotNull File repositoryRoot)
Caller of this method is responsible for callingforceDeleteRepository()
static GitRepositoryDescriptor
writableRepository(@NotNull File repositoryRoot)
-
Methods inherited from class com.atlassian.bamboo.testutils.FilebasedRepositoryDescriptor
getAbsolutePath, getRepoRoot, getTempDir, setTempDir
-
-
-
-
Method Detail
-
getRepositoryLocationString
public String getRepositoryLocationString()
-
deleteRepository
public void deleteRepository()
- Specified by:
deleteRepository
in classFilebasedRepositoryDescriptor
-
forceDeleteRepository
public void forceDeleteRepository()
-
readOnlyRepository
public static GitRepositoryDescriptor readOnlyRepository(@NotNull @NotNull File repositoryRoot)
Caller of this method is responsible for callingforceDeleteRepository()
-
writableRepository
public static GitRepositoryDescriptor writableRepository(@NotNull @NotNull File repositoryRoot)
-
isReadOnly
public boolean isReadOnly()
-
-