Package | Description |
---|---|
org.eclipse.jgit.api.errors |
Exceptions thrown by API commands.
|
org.eclipse.jgit.internal.storage.dfs |
Distributed file system based repository storage.
|
org.eclipse.jgit.internal.storage.file |
File based repository storage.
|
org.eclipse.jgit.internal.storage.reftree | |
org.eclipse.jgit.lib |
Core API for repository, config, refs, object database.
|
org.eclipse.jgit.pgm | |
org.eclipse.jgit.transport |
Transport (fetch/push) for different protocols.
|
Modifier and Type | Field and Description |
---|---|
private RefUpdate.Result |
ConcurrentRefUpdateException.rc |
Modifier and Type | Method and Description |
---|---|
RefUpdate.Result |
ConcurrentRefUpdateException.getResult()
Get result
|
Constructor and Description |
---|
ConcurrentRefUpdateException(java.lang.String message,
Ref ref,
RefUpdate.Result rc)
Constructor for ConcurrentRefUpdateException.
|
ConcurrentRefUpdateException(java.lang.String message,
Ref ref,
RefUpdate.Result rc,
java.lang.Throwable cause)
Constructor for ConcurrentRefUpdateException.
|
Modifier and Type | Method and Description |
---|---|
protected RefUpdate.Result |
DfsRefUpdate.doDelete(RefUpdate.Result desiredResult)
Do delete
|
protected RefUpdate.Result |
DfsRefUpdate.doLink(java.lang.String target)
Do link
|
protected RefUpdate.Result |
DfsRefRename.doRename()
Do the actual rename
|
protected RefUpdate.Result |
DfsRefUpdate.doUpdate(RefUpdate.Result desiredResult)
Do update
|
RefUpdate.Result |
DfsRefUpdate.update(RevWalk walk)
Gracefully update the ref to the new value.
|
Modifier and Type | Method and Description |
---|---|
protected RefUpdate.Result |
DfsRefUpdate.doDelete(RefUpdate.Result desiredResult)
Do delete
|
protected RefUpdate.Result |
DfsRefUpdate.doUpdate(RefUpdate.Result desiredResult)
Do update
|
Modifier and Type | Method and Description |
---|---|
protected RefUpdate.Result |
RefDirectoryUpdate.doDelete(RefUpdate.Result status)
Do delete
|
protected RefUpdate.Result |
RefDirectoryUpdate.doLink(java.lang.String target)
Do link
|
protected RefUpdate.Result |
RefDirectoryRename.doRename()
Do the actual rename
|
protected RefUpdate.Result |
RefDirectoryUpdate.doUpdate(RefUpdate.Result status)
Do update
|
Modifier and Type | Method and Description |
---|---|
protected RefUpdate.Result |
RefDirectoryUpdate.doDelete(RefUpdate.Result status)
Do delete
|
protected RefUpdate.Result |
RefDirectoryUpdate.doUpdate(RefUpdate.Result status)
Do update
|
private java.lang.String |
RefDirectoryUpdate.toResultString(RefUpdate.Result status) |
Modifier and Type | Method and Description |
---|---|
protected RefUpdate.Result |
RefTreeUpdate.doDelete(RefUpdate.Result desiredResult)
Do delete
|
protected RefUpdate.Result |
AlwaysFailUpdate.doDelete(RefUpdate.Result desiredResult)
Do delete
|
protected RefUpdate.Result |
RefTreeUpdate.doLink(java.lang.String target)
Do link
|
protected RefUpdate.Result |
AlwaysFailUpdate.doLink(java.lang.String target)
Do link
|
protected RefUpdate.Result |
RefTreeRename.doRename()
Do the actual rename
|
protected RefUpdate.Result |
RefTreeUpdate.doUpdate(RefUpdate.Result desiredResult)
Do update
|
protected RefUpdate.Result |
AlwaysFailUpdate.doUpdate(RefUpdate.Result desiredResult)
Do update
|
private RefUpdate.Result |
RefTreeUpdate.run(Ref newRef,
RefUpdate.Result desiredResult) |
(package private) static RefUpdate.Result |
RefTreeUpdate.translate(ReceiveCommand.Result r,
RefUpdate.Result desiredResult) |
Modifier and Type | Method and Description |
---|---|
protected RefUpdate.Result |
RefTreeUpdate.doDelete(RefUpdate.Result desiredResult)
Do delete
|
protected RefUpdate.Result |
AlwaysFailUpdate.doDelete(RefUpdate.Result desiredResult)
Do delete
|
protected RefUpdate.Result |
RefTreeUpdate.doUpdate(RefUpdate.Result desiredResult)
Do update
|
protected RefUpdate.Result |
AlwaysFailUpdate.doUpdate(RefUpdate.Result desiredResult)
Do update
|
private RefUpdate.Result |
RefTreeUpdate.run(Ref newRef,
RefUpdate.Result desiredResult) |
(package private) static RefUpdate.Result |
RefTreeUpdate.translate(ReceiveCommand.Result r,
RefUpdate.Result desiredResult) |
Modifier and Type | Field and Description |
---|---|
private RefUpdate.Result |
RefUpdate.result
Result of the update operation.
|
private RefUpdate.Result |
RefRename.result |
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)
Do delete
|
protected abstract RefUpdate.Result |
RefUpdate.doLink(java.lang.String target)
Do link
|
protected abstract RefUpdate.Result |
RefRename.doRename()
Do the actual rename
|
protected abstract RefUpdate.Result |
RefUpdate.doUpdate(RefUpdate.Result desiredResult)
Do update
|
(package private) abstract RefUpdate.Result |
RefUpdate.Store.execute(RefUpdate.Result status) |
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()
Get result of rename operation
|
RefUpdate.Result |
RefUpdate.link(java.lang.String target)
Replace this reference with a symbolic reference to another reference.
|
RefUpdate.Result |
RefRename.rename()
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.
|
private RefUpdate.Result |
RefUpdate.updateImpl(RevWalk walk,
RefUpdate.Store store) |
static RefUpdate.Result |
RefUpdate.Result.valueOf(java.lang.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)
Do delete
|
protected abstract RefUpdate.Result |
RefUpdate.doUpdate(RefUpdate.Result desiredResult)
Do update
|
(package private) abstract RefUpdate.Result |
RefUpdate.Store.execute(RefUpdate.Result status) |
Modifier and Type | Method and Description |
---|---|
private static char |
AbstractFetchCommand.shortTypeOf(RefUpdate.Result r) |
Modifier and Type | Field and Description |
---|---|
private RefUpdate.Result |
TrackingRefUpdate.result |
Modifier and Type | Method and Description |
---|---|
private RefUpdate.Result |
TrackingRefUpdate.Command.decode(ReceiveCommand.Result status) |
RefUpdate.Result |
TrackingRefUpdate.getResult()
Get the status of this update.
|
RefUpdate.Result |
PushCertificateStore.save()
Save pending certificates to the store.
|
private RefUpdate.Result |
PushCertificateStore.updateRef(ObjectId newId) |
Modifier and Type | Method and Description |
---|---|
void |
ReceiveCommand.setResult(RefUpdate.Result r)
Set the result of this command.
|
(package private) void |
TrackingRefUpdate.setResult(RefUpdate.Result result) |
void |
TrackingRefUpdate.Command.setResult(RefUpdate.Result status) |