Class LocalGitSetupHelper
- java.lang.Object
-
- com.atlassian.bamboo.testutils.vcs.git.LocalGitSetupHelper
-
public class LocalGitSetupHelper extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>
BRANCHES
static Duration
GIT_CONFIG_TIMEOUT
static String
GIT_DUMP_FILE_NAME
-
Constructor Summary
Constructors Constructor Description LocalGitSetupHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GitRepositoryDescriptor
cloneLocalRepository(@NotNull GitRepositoryDescriptor localRepository)
static @NotNull GitRepositoryDescriptor
createRepositoryFromZip(@NotNull String zipResourceName)
static GitRepositoryDescriptor
emptyRepository(boolean bare)
static @NotNull GitRepositoryDescriptor
getRepositoryForCommits()
static GitRepositoryDescriptor
getRepositoryForReadOnlyAccess()
static GitRepositoryDescriptor
mirrorLocalRepository(@NotNull GitRepositoryDescriptor localRepository)
-
-
-
Field Detail
-
GIT_DUMP_FILE_NAME
public static final String GIT_DUMP_FILE_NAME
- See Also:
- Constant Field Values
-
GIT_CONFIG_TIMEOUT
public static final Duration GIT_CONFIG_TIMEOUT
-
-
Method Detail
-
getRepositoryForReadOnlyAccess
public static GitRepositoryDescriptor getRepositoryForReadOnlyAccess()
-
getRepositoryForCommits
@NotNull public static @NotNull GitRepositoryDescriptor getRepositoryForCommits()
-
createRepositoryFromZip
@NotNull public static @NotNull GitRepositoryDescriptor createRepositoryFromZip(@NotNull @NotNull String zipResourceName)
-
cloneLocalRepository
public static GitRepositoryDescriptor cloneLocalRepository(@NotNull @NotNull GitRepositoryDescriptor localRepository)
-
emptyRepository
public static GitRepositoryDescriptor emptyRepository(boolean bare)
-
mirrorLocalRepository
public static GitRepositoryDescriptor mirrorLocalRepository(@NotNull @NotNull GitRepositoryDescriptor localRepository)
-
-