## Uses of Class
org.eclipse.jgit.transport.ReceiveCommand

Packages that use ReceiveCommand
Package | Description
--- | ---
org.eclipse.jgit.lib | Core API for repository, config, refs, object database.
org.eclipse.jgit.transport | Transport (fetch/push) for different protocols.

### Uses of ReceiveCommand in org.eclipse.jgit.lib

Methods in org.eclipse.jgit.lib that return types with arguments of type ReceiveCommand
Modifier and Type | Method and Description
--- | ---
`List<ReceiveCommand>` | BatchRefUpdate.`getCommands()`

Methods in org.eclipse.jgit.lib with parameters of type ReceiveCommand
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.

Method parameters in org.eclipse.jgit.lib with type arguments of type ReceiveCommand
Modifier and Type | Method and Description
--- | ---
`BatchRefUpdate` | BatchRefUpdate.`addCommand(Collection<ReceiveCommand> cmd)` Add commands to this batch update.

### Uses of ReceiveCommand in org.eclipse.jgit.transport

Methods in org.eclipse.jgit.transport that return types with arguments of type ReceiveCommand
Modifier and Type | Method and Description
--- | ---
`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()`

Method parameters in org.eclipse.jgit.transport with type arguments of type ReceiveCommand
Modifier and Type | Method and Description
--- | ---
`static List<ReceiveCommand>` | ReceiveCommand.`filter(List<ReceiveCommand> commands, ReceiveCommand.Result want)` Filter a list of commands according to result.
`void` | PostReceiveHook.`onPostReceive(ReceivePack rp, Collection<ReceiveCommand> commands)` Invoked after all commands are executed and status has been returned.
`void` | PostReceiveHookChain.`onPostReceive(ReceivePack rp, Collection<ReceiveCommand> commands)`
`void` | PreReceiveHookChain.`onPreReceive(ReceivePack rp, Collection<ReceiveCommand> commands)`
`void` | PreReceiveHook.`onPreReceive(ReceivePack rp, Collection<ReceiveCommand> commands)` Invoked just before commands are executed.