Package | Description |
---|---|
org.eclipse.jgit.internal.ketch |
Distributed consensus system built on Git.
|
org.eclipse.jgit.internal.storage.reftree | |
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 |
---|---|
Collection<ReceiveCommand> |
ReplicaPushRequest.getCommands() |
List<ReceiveCommand> |
StageBuilder.makeStageList(Repository git,
ObjectId oldTree,
ObjectId newTree)
Compare two RefTrees and return commands to stage new objects.
|
List<ReceiveCommand> |
StageBuilder.makeStageList(Set<ObjectId> newObjs,
Repository git,
ObjectInserter inserter)
Construct a set of commands to stage objects on a replica.
|
protected Collection<ReceiveCommand> |
KetchReplica.prepareCommit(Repository git,
Map<String,Ref> current,
ObjectId committed)
Build a list of commands to commit
KetchReplica.CommitMethod.ALL_REFS . |
Modifier and Type | Method and Description |
---|---|
void |
KetchPreReceive.onPreReceive(ReceivePack rp,
Collection<ReceiveCommand> cmds) |
Constructor and Description |
---|
Proposal(RevWalk rw,
Collection<ReceiveCommand> cmds)
Create a proposal from a collection of received commands.
|
ReplicaPushRequest(KetchReplica replica,
Collection<ReceiveCommand> commands)
Construct a new push request for a replica.
|
Constructor and Description |
---|
Command(RevWalk rw,
ReceiveCommand cmd)
Construct a RefTree command wrapped around a ReceiveCommand.
|
Modifier and Type | Method and Description |
---|---|
List<ReceiveCommand> |
BatchRefUpdate.getCommands() |
Modifier and Type | Method and Description |
---|---|
BatchRefUpdate |
BatchRefUpdate.addCommand(ReceiveCommand... cmd)
Add commands to this batch update.
|
BatchRefUpdate |
BatchRefUpdate.addCommand(ReceiveCommand cmd)
Add a single command to this batch update.
|
protected RefUpdate |
BatchRefUpdate.newUpdate(ReceiveCommand cmd)
Create a new RefUpdate copying the batch settings.
|
Modifier and Type | Method and Description |
---|---|
BatchRefUpdate |
BatchRefUpdate.addCommand(Collection<ReceiveCommand> cmd)
Add commands to this batch update.
|
Modifier and Type | Method and Description |
---|---|
ReceiveCommand |
TrackingRefUpdate.asReceiveCommand() |
Modifier and Type | Method and Description |
---|---|
static List<ReceiveCommand> |
ReceiveCommand.filter(Iterable<ReceiveCommand> in,
ReceiveCommand.Result want)
Filter a collection of commands according to result.
|
static List<ReceiveCommand> |
ReceiveCommand.filter(List<ReceiveCommand> commands,
ReceiveCommand.Result want)
Filter a list of commands according to result.
|
protected List<ReceiveCommand> |
BaseReceivePack.filterCommands(ReceiveCommand.Result want)
Filter the list of commands according to result.
|
List<ReceiveCommand> |
BaseReceivePack.getAllCommands() |
List<ReceiveCommand> |
PushCertificate.getCommands() |
Modifier and Type | Method and Description |
---|---|
void |
PushCertificateParser.addCommand(ReceiveCommand cmd)
Add a command to the signature.
|
Modifier and Type | Method and Description |
---|---|
static void |
ReceiveCommand.abort(Iterable<ReceiveCommand> commands)
Set unprocessed commands as failed due to transaction aborted.
|
static List<ReceiveCommand> |
ReceiveCommand.filter(Iterable<ReceiveCommand> in,
ReceiveCommand.Result want)
Filter a collection of commands according to result.
|
static List<ReceiveCommand> |
ReceiveCommand.filter(List<ReceiveCommand> commands,
ReceiveCommand.Result want)
Filter a list of commands according to result.
|
void |
PostReceiveHookChain.onPostReceive(ReceivePack rp,
Collection<ReceiveCommand> commands) |
void |
PostReceiveHook.onPostReceive(ReceivePack rp,
Collection<ReceiveCommand> commands)
Invoked after all commands are executed and status has been returned.
|
void |
PreReceiveHookChain.onPreReceive(ReceivePack rp,
Collection<ReceiveCommand> commands) |
void |
PreReceiveHook.onPreReceive(ReceivePack rp,
Collection<ReceiveCommand> commands)
Invoked just before commands are executed.
|
void |
PushCertificateStore.put(PushCertificate cert,
PersonIdent ident,
Collection<ReceiveCommand> matching)
Put a certificate to be saved to the store, matching a set of commands.
|
Copyright © 2017 Eclipse JGit Project. All rights reserved.