Class CloneGitRepo.Builder
- java.lang.Object
-
- org.jclouds.scriptbuilder.statements.git.CloneGitRepo.Builder
-
- Enclosing class:
- CloneGitRepo
public static class CloneGitRepo.Builder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected com.google.common.base.Optional<String>
directory
protected GitRepoAndRef.Builder
gitRepoAndRef
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
gitRepoAndRef
protected GitRepoAndRef.Builder gitRepoAndRef
-
directory
protected com.google.common.base.Optional<String> directory
-
-
Method Detail
-
repository
public CloneGitRepo.Builder repository(URI repository)
- See Also:
GitRepoAndRef.getRepository()
-
repository
public CloneGitRepo.Builder repository(String repository)
- See Also:
GitRepoAndRef.getRepository()
-
branch
public CloneGitRepo.Builder branch(String branch)
- See Also:
GitRepoAndRef.getBranch()
-
tag
public CloneGitRepo.Builder tag(String tag)
- See Also:
GitRepoAndRef.getTag()
-
gitRepoAndRef
public CloneGitRepo.Builder gitRepoAndRef(GitRepoAndRef gitRepoAndRef)
- See Also:
CloneGitRepo.getGitRepoAndRef()
-
directory
public CloneGitRepo.Builder directory(String directory)
- See Also:
CloneGitRepo.getDirectory()
-
build
public CloneGitRepo build()
-
fromCloneGitRepo
public CloneGitRepo.Builder fromCloneGitRepo(CloneGitRepo in)
-
-