org.eclipse.jgit.transport.AdvertiseRefsHook that advertises the same refs for
upload-pack and receive-pack.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | advertiseRefs(UploadPack
instance on which to call
uploadPack)org.
if necessary.Implements org. Advertise refs for upload-pack. |
| public void | advertiseRefs(ReceivePack
instance on which to call
receivePack)org.
if necessary.Implements org. Advertise refs for receive-pack. |
| protected Set | Returns: set of additional haves; seeorg..repository instance. repository, RevWalk open rev walk on the repository. revWalk)Get the additional haves to advertise. |
| protected abstract Map | Returns: set of refs to advertise.repository instance. repository, RevWalk open rev walk on the repository. revWalk)Get the refs to advertise. |
| AbstractAdvertiseRefsHook | back to summary |
|---|---|
| public AbstractAdvertiseRefsHook() | |
| advertiseRefs | back to summary |
|---|---|
| public void advertiseRefs(UploadPack uploadPack) throws ServiceMayNotContinueException Implements org. Doc from org. Advertise refs for upload-pack.
| |
| advertiseRefs | back to summary |
|---|---|
| public void advertiseRefs(ReceivePack receivePack) throws IOException Implements org. Doc from org. Advertise refs for receive-pack.
| |
| getAdvertisedHaves | back to summary |
|---|---|
| protected Set Get the additional haves to advertise.
| |
| getAdvertisedRefs | back to summary |
|---|---|
| protected abstract Map Get the refs to advertise.
| |