|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jgit.transport.TrackingRefUpdate
public class TrackingRefUpdate
Update of a locally stored tracking branch.
Method Summary | |
---|---|
String |
getLocalName()
Get the name of the local tracking ref. |
ObjectId |
getNewObjectId()
Get the new value the ref will be (or was) updated to. |
ObjectId |
getOldObjectId()
The old value of the ref, prior to the update being attempted. |
String |
getRemoteName()
Get the name of the remote ref. |
RefUpdate.Result |
getResult()
Get the status of this update. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String getRemoteName()
Usually this is of the form "refs/heads/master".
public String getLocalName()
Usually this is of the form "refs/remotes/origin/master".
public ObjectId getNewObjectId()
public ObjectId getOldObjectId()
This value may differ before and after the update method. Initially it is populated with the value of the ref before the lock is taken, but the old value may change if someone else modified the ref between the time we last read it and when the ref was locked for update.
public RefUpdate.Result getResult()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |