|
org.netbeans.libs.git/1 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.libs.git.GitTransportUpdate
public final class GitTransportUpdate
Represents a result of transport and update of a git reference between a local and remote repository. Instance of this class is usually returned by inter-repository commands (as fetch or push).
| Nested Class Summary | |
|---|---|
static class |
GitTransportUpdate.Type
Git object kind. |
| Method Summary | |
|---|---|
String |
getLocalName()
Returns the name of the reference in a local repository without the prefix. |
String |
getNewObjectId()
|
String |
getOldObjectId()
|
String |
getRemoteName()
Returns the name of the reference in a remote repository without the prefix. |
String |
getRemoteUri()
|
GitRefUpdateResult |
getResult()
Returns information about the result of the local/remote reference update. |
GitTransportUpdate.Type |
getType()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getRemoteUri()
public String getLocalName()
refs/heads/master master is returned.
public String getRemoteName()
refs/heads/master master is returned.
public String getOldObjectId()
public String getNewObjectId()
public GitRefUpdateResult getResult()
public GitTransportUpdate.Type getType()
|
org.netbeans.libs.git/1 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||