Package | Description |
---|---|
org.eclipse.jgit.api.errors |
Exceptions thrown by API commands.
|
org.eclipse.jgit.lib |
Core API for repository, config, refs, object database.
|
org.eclipse.jgit.transport |
Transport (fetch/push) for different protocols.
|
Modifier and Type | Method and Description |
---|---|
RefUpdate.Result |
ConcurrentRefUpdateException.getResult() |
Constructor and Description |
---|
ConcurrentRefUpdateException(String message,
Ref ref,
RefUpdate.Result rc) |
ConcurrentRefUpdateException(String message,
Ref ref,
RefUpdate.Result rc,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
RefUpdate.Result |
RefUpdate.delete()
Delete the ref.
|
RefUpdate.Result |
RefUpdate.delete(RevWalk walk)
Delete the ref.
|
protected abstract RefUpdate.Result |
RefUpdate.doDelete(RefUpdate.Result desiredResult) |
protected abstract RefUpdate.Result |
RefUpdate.doLink(String target) |
protected abstract RefUpdate.Result |
RefRename.doRename() |
protected abstract RefUpdate.Result |
RefUpdate.doUpdate(RefUpdate.Result desiredResult) |
RefUpdate.Result |
RefUpdate.forceUpdate()
Force the ref to take the new value.
|
RefUpdate.Result |
RefUpdate.getResult()
Get the status of this update.
|
RefUpdate.Result |
RefRename.getResult() |
RefUpdate.Result |
RefUpdate.link(String target)
Replace this reference with a symbolic reference to another reference.
|
RefUpdate.Result |
RefRename.rename() |
RefUpdate.Result |
RefUpdate.update()
Gracefully update the ref to the new value.
|
RefUpdate.Result |
RefUpdate.update(RevWalk walk)
Gracefully update the ref to the new value.
|
static RefUpdate.Result |
RefUpdate.Result.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RefUpdate.Result[] |
RefUpdate.Result.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected abstract RefUpdate.Result |
RefUpdate.doDelete(RefUpdate.Result desiredResult) |
protected abstract RefUpdate.Result |
RefUpdate.doUpdate(RefUpdate.Result desiredResult) |
Modifier and Type | Method and Description |
---|---|
RefUpdate.Result |
TrackingRefUpdate.getResult()
Get the status of this update.
|
Modifier and Type | Method and Description |
---|---|
void |
ReceiveCommand.setResult(RefUpdate.Result r)
Set the result of this command.
|
Copyright © 2015 Eclipse JGit Project. All rights reserved.