Example usage for Java org.eclipse.jgit.lib RefUpdate fields, constructors, methods, implement or subclass
The text is from its open source code.
Result | delete() Delete the ref. |
Result | delete(RevWalk walk) Delete the ref. |
void | disableRefLog() Don't record this update in the ref's associated reflog. |
Result | forceUpdate() Force the ref to take the new value. |
String | getName() Get the name of the ref this update will operate on. |
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. |
Ref | getRef() Get the reference this update will create or modify. |
Result | getResult() Get the status of this update. |
Result | link(String target) Replace this reference with a symbolic reference to another reference. |
void | setExpectedOldObjectId(AnyObjectId id) Set the expected value of the ref after the lock is taken, but before update occurs. |
void | setForceUpdate(boolean b) Set if this update wants to forcefully change the ref. |
void | setNewObjectId(AnyObjectId id) Set the new value the ref will update to. |
void | setRefLogIdent(PersonIdent pi) Set the identity of the user appearing in the reflog. |
void | setRefLogMessage(String msg, boolean appendStatus) Set the message to include in the reflog. |
Result | update(RevWalk walk) Gracefully update the ref to the new value. |
Result | update() Gracefully update the ref to the new value. |