public static class GitRepoAndRef.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Optional<String> |
branch |
protected URI |
repository |
protected com.google.common.base.Optional<String> |
tag |
Constructor and Description |
---|
GitRepoAndRef.Builder() |
Modifier and Type | Method and Description |
---|---|
GitRepoAndRef.Builder |
branch(String branch) |
GitRepoAndRef |
build() |
GitRepoAndRef.Builder |
fromGitRepoAndRef(GitRepoAndRef in) |
GitRepoAndRef.Builder |
repository(String repository) |
GitRepoAndRef.Builder |
repository(URI repository) |
GitRepoAndRef.Builder |
tag(String tag) |
protected URI repository
protected com.google.common.base.Optional<String> branch
protected com.google.common.base.Optional<String> tag
public GitRepoAndRef.Builder repository(URI repository)
GitRepoAndRef.getRepository()
public GitRepoAndRef.Builder repository(String repository)
GitRepoAndRef.getRepository()
public GitRepoAndRef.Builder branch(String branch)
GitRepoAndRef.getBranch()
public GitRepoAndRef.Builder tag(String tag)
GitRepoAndRef.getTag()
public GitRepoAndRef build()
public GitRepoAndRef.Builder fromGitRepoAndRef(GitRepoAndRef in)
Copyright © 2009-2013 jclouds. All Rights Reserved.