|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.scriptbuilder.domain.GitRepoAndRef
public class GitRepoAndRef
Description of git coordinates to checkout.
| Nested Class Summary | |
|---|---|
static class |
GitRepoAndRef.Builder
|
| Field Summary | |
|---|---|
protected com.google.common.base.Optional<String> |
branch
|
protected URI |
repository
|
protected com.google.common.base.Optional<String> |
tag
|
| Constructor Summary | |
|---|---|
protected |
GitRepoAndRef(URI repository,
com.google.common.base.Optional<String> branch,
com.google.common.base.Optional<String> tag)
|
| Method Summary | |
|---|---|
static GitRepoAndRef.Builder |
builder()
|
boolean |
equals(Object obj)
|
com.google.common.base.Optional<String> |
getBranch()
Instead of pointing the newly created HEAD to the branch pointed to by the cloned repository's HEAD, point to this branch instead. |
URI |
getRepository()
The (possibly remote) repository to clone from. |
com.google.common.base.Optional<String> |
getTag()
checkout the following tag on the branch |
int |
hashCode()
|
GitRepoAndRef.Builder |
toBuilder()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final URI repository
protected final com.google.common.base.Optional<String> branch
protected final com.google.common.base.Optional<String> tag
| Constructor Detail |
|---|
protected GitRepoAndRef(URI repository,
com.google.common.base.Optional<String> branch,
com.google.common.base.Optional<String> tag)
| Method Detail |
|---|
public static GitRepoAndRef.Builder builder()
public GitRepoAndRef.Builder toBuilder()
public URI getRepository()
public com.google.common.base.Optional<String> getBranch()
public com.google.common.base.Optional<String> getTag()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||