Package com.atlassian.bamboo.plugins.git
Class GitHubRepositoryAccessData.Builder
- java.lang.Object
-
- com.atlassian.bamboo.plugins.git.GitHubRepositoryAccessData.Builder
-
- Enclosing class:
- GitHubRepositoryAccessData
public static final class GitHubRepositoryAccessData.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
clone
public GitHubRepositoryAccessData.Builder clone(GitHubRepositoryAccessData gitRepositoryAccessData)
-
repository
public GitHubRepositoryAccessData.Builder repository(String repository)
-
branch
@Deprecated public GitHubRepositoryAccessData.Builder branch(String branch)
Deprecated.
-
branch
public GitHubRepositoryAccessData.Builder branch(VcsBranch vcsBranch)
-
username
public GitHubRepositoryAccessData.Builder username(String username)
-
password
public GitHubRepositoryAccessData.Builder password(String password)
-
useShallowClones
public GitHubRepositoryAccessData.Builder useShallowClones(boolean useShallowClones)
-
useSubmodules
public GitHubRepositoryAccessData.Builder useSubmodules(boolean useSubmodules)
-
commandTimeout
public GitHubRepositoryAccessData.Builder commandTimeout(int commandTimeout)
-
verboseLogs
public GitHubRepositoryAccessData.Builder verboseLogs(boolean verboseLogs)
-
shouldFetchAllRefs
public GitHubRepositoryAccessData.Builder shouldFetchAllRefs(boolean shouldFetchAllRefs)
-
lfs
public GitHubRepositoryAccessData.Builder lfs(boolean lfs)
-
useRemoteAgentCache
public GitHubRepositoryAccessData.Builder useRemoteAgentCache(boolean useRemoteAgentCache)
-
baseUrl
public GitHubRepositoryAccessData.Builder baseUrl(String baseUrl)
-
build
public GitHubRepositoryAccessData build()
-
-