org.eclipse.jgit.transport.PostReceiveHook that delegates to a list
of other hooks.
Hooks are run in the order passed to the constructor.
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final PostReceiveHook[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static PostReceiveHook | Returns: a new hook chain of the given hooks.hooks to execute, in order. hooks)Create a new hook chaining the given hooks together. |
| public void | onPostReceive(ReceivePack
the process handling the current receive. Hooks may obtain
details about the destination repository through this handle. rp, Collection<ReceiveCommand> unmodifiable set of successfully completed commands. May be
the empty set. commands)Implements org. Invoked after all commands are executed and status has been returned. |
| count | back to summary |
|---|---|
| private final int count | |
| hooks | back to summary |
|---|---|
| private final PostReceiveHook[] hooks | |
| PostReceiveHookChain | back to summary |
|---|---|
| private PostReceiveHookChain(PostReceiveHook[] hooks, int count) | |
| newChain | back to summary |
|---|---|
| public static PostReceiveHook newChain(List<? extends PostReceiveHook> hooks) Create a new hook chaining the given hooks together.
| |
| onPostReceive | back to summary |
|---|---|
| public void onPostReceive(ReceivePack rp, Collection<ReceiveCommand> commands) Implements org. Doc from org. Invoked after all commands are executed and status has been returned.
| |