public class PostUploadHookChain extends Object implements PostUploadHook
PostUploadHookthat delegates to a list of other hooks.
Hooks are run in the order passed to the constructor.
|Modifier and Type||Method and Description|
Create a new hook chaining the given hooks together.
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)
stats- the statistics gathered by
PackWriterfor the uploaded pack
Copyright © 2018 Eclipse JGit Project. All rights reserved.