|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jgit.transport.PostReceiveHookChain
public class PostReceiveHookChain
PostReceiveHook that delegates to a list of other hooks.
Hooks are run in the order passed to the constructor.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.jgit.transport.PostReceiveHook |
|---|
NULL |
| Method Summary | |
|---|---|
static PostReceiveHook |
newChain(java.util.List<? extends PostReceiveHook> hooks)
Create a new hook chaining the given hooks together. |
void |
onPostReceive(ReceivePack rp,
java.util.Collection<ReceiveCommand> commands)
Invoked after all commands are executed and status has been returned. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PostReceiveHook newChain(java.util.List<? extends PostReceiveHook> hooks)
hooks - hooks to execute, in order.
public void onPostReceive(ReceivePack rp,
java.util.Collection<ReceiveCommand> commands)
PostReceiveHook
onPostReceive in interface PostReceiveHookrp - the process handling the current receive. Hooks may obtain
details about the destination repository through this handle.commands - unmodifiable set of successfully completed commands. May be
the empty set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||