org.eclipse.jgit.transport.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
org., or
org. or
org..
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final AdvertiseRefsHook[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | advertiseRefs(ReceivePack
instance on which to call
rp)org.
if necessary.Implements org. Advertise refs for receive-pack. |
| public void | advertiseRefs(UploadPack
instance on which to call
rp)org.
if necessary.Implements org. Advertise refs for upload-pack. |
| public static AdvertiseRefsHook | Returns: a new hook chain of the given hooks.hooks to execute, in order. hooks)Create a new hook chaining the given hooks together. |
| count | back to summary |
|---|---|
| private final int count | |
| hooks | back to summary |
|---|---|
| private final AdvertiseRefsHook[] hooks | |
| AdvertiseRefsHookChain | back to summary |
|---|---|
| private AdvertiseRefsHookChain(AdvertiseRefsHook[] hooks, int count) | |
| advertiseRefs | back to summary |
|---|---|
| public void advertiseRefs(ReceivePack rp) throws IOException Implements org. Doc from org. Advertise refs for receive-pack.
| |
| advertiseRefs | back to summary |
|---|---|
| public void advertiseRefs(UploadPack rp) throws ServiceMayNotContinueException Implements org. Doc from org. Advertise refs for upload-pack.
| |
| newChain | back to summary |
|---|---|
| public static AdvertiseRefsHook newChain(List<? extends AdvertiseRefsHook> hooks) Create a new hook chaining the given hooks together.
| |