Class AdvertiseRefsHookChain

java.lang.Object
org.eclipse.jgit.transport.AdvertiseRefsHookChain
All Implemented Interfaces:
AdvertiseRefsHook

public class AdvertiseRefsHookChain extends Object implements AdvertiseRefsHook
AdvertiseRefsHook that delegates to a list of other hooks.

Hooks are run in the order passed to the constructor. A hook may inspect or modify the results of the previous hooks in the chain by calling UploadPack.getAdvertisedRefs(), or ReceivePack.getAdvertisedRefs() or ReceivePack.getAdvertisedObjects().