public static class CloneGitRepo.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Optional<String> |
directory |
protected GitRepoAndRef.Builder |
gitRepoAndRef |
Constructor and Description |
---|
CloneGitRepo.Builder() |
Modifier and Type | Method and Description |
---|---|
CloneGitRepo.Builder |
branch(String branch) |
CloneGitRepo |
build() |
CloneGitRepo.Builder |
directory(String directory) |
CloneGitRepo.Builder |
fromCloneGitRepo(CloneGitRepo in) |
CloneGitRepo.Builder |
gitRepoAndRef(GitRepoAndRef gitRepoAndRef) |
CloneGitRepo.Builder |
repository(String repository) |
CloneGitRepo.Builder |
repository(URI repository) |
CloneGitRepo.Builder |
tag(String tag) |
protected GitRepoAndRef.Builder gitRepoAndRef
protected com.google.common.base.Optional<String> directory
public CloneGitRepo.Builder repository(URI repository)
GitRepoAndRef.getRepository()
public CloneGitRepo.Builder repository(String repository)
GitRepoAndRef.getRepository()
public CloneGitRepo.Builder branch(String branch)
GitRepoAndRef.getBranch()
public CloneGitRepo.Builder tag(String tag)
GitRepoAndRef.getTag()
public CloneGitRepo.Builder gitRepoAndRef(GitRepoAndRef gitRepoAndRef)
CloneGitRepo.getGitRepoAndRef()
public CloneGitRepo.Builder directory(String directory)
CloneGitRepo.getDirectory()
public CloneGitRepo build()
public CloneGitRepo.Builder fromCloneGitRepo(CloneGitRepo in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.