Java org.eclipse.jgit.lib RefUpdate fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.lib RefUpdate fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jgit.lib RefUpdate.

The text is from its open source code.

Method

Resultdelete()
Delete the ref.
Resultdelete(RevWalk walk)
Delete the ref.
voiddisableRefLog()
Don't record this update in the ref's associated reflog.
ResultforceUpdate()
Force the ref to take the new value.
StringgetName()
Get the name of the ref this update will operate on.
ObjectIdgetNewObjectId()
Get the new value the ref will be (or was) updated to.
ObjectIdgetOldObjectId()
The old value of the ref, prior to the update being attempted.
RefgetRef()
Get the reference this update will create or modify.
ResultgetResult()
Get the status of this update.
Resultlink(String target)
Replace this reference with a symbolic reference to another reference.
voidsetExpectedOldObjectId(AnyObjectId id)
Set the expected value of the ref after the lock is taken, but before update occurs.
voidsetForceUpdate(boolean b)
Set if this update wants to forcefully change the ref.
voidsetNewObjectId(AnyObjectId id)
Set the new value the ref will update to.
voidsetRefLogIdent(PersonIdent pi)
Set the identity of the user appearing in the reflog.
voidsetRefLogMessage(String msg, boolean appendStatus)
Set the message to include in the reflog.
Resultupdate(RevWalk walk)
Gracefully update the ref to the new value.
Resultupdate()
Gracefully update the ref to the new value.