public class PostUploadHookChain extends Object implements PostUploadHook
PostUploadHook that delegates to a list of
other hooks.
Hooks are run in the order passed to the constructor.
NULL| Modifier and Type | Method and Description |
|---|---|
static PostUploadHook |
newChain(List<? extends PostUploadHook> hooks)
Create a new hook chaining the given hooks together.
|
void |
onPostUpload(PackStatistics stats)
Notifies the hook that a pack has been sent.
|
public static PostUploadHook newChain(List<? extends PostUploadHook> hooks)
hooks - hooks to execute, in order.public void onPostUpload(PackStatistics stats)
onPostUpload in interface PostUploadHookstats - the statistics gathered by
PackWriter for
the uploaded packCopyright © 2018 Eclipse JGit Project. All rights reserved.