Package | Description |
---|---|
org.eclipse.jgit.transport |
Transport (fetch/push) for different protocols.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAdvertiseRefsHook
Implementation of
AdvertiseRefsHook that advertises the same refs for
upload-pack and receive-pack. |
class |
AdvertiseRefsHookChain
AdvertiseRefsHook that delegates to a list
of other hooks. |
Modifier and Type | Field and Description |
---|---|
private AdvertiseRefsHook |
UploadPack.advertiseRefsHook
Hook used while advertising the refs to the client.
|
private AdvertiseRefsHook |
ReceivePack.advertiseRefsHook
Hook used while advertising the refs to the client.
|
static AdvertiseRefsHook |
AdvertiseRefsHook.DEFAULT
A simple hook that advertises the default refs.
|
private AdvertiseRefsHook[] |
AdvertiseRefsHookChain.hooks |
Modifier and Type | Method and Description |
---|---|
AdvertiseRefsHook |
UploadPack.getAdvertiseRefsHook()
Get the hook used while advertising the refs to the client.
|
AdvertiseRefsHook |
ReceivePack.getAdvertiseRefsHook()
Get the hook used while advertising the refs to the client
|
static AdvertiseRefsHook |
AdvertiseRefsHookChain.newChain(java.util.List<? extends AdvertiseRefsHook> hooks)
Create a new hook chaining the given hooks together.
|
Modifier and Type | Method and Description |
---|---|
void |
UploadPack.setAdvertiseRefsHook(AdvertiseRefsHook advertiseRefsHook)
Set the hook used while advertising the refs to the client.
|
void |
ReceivePack.setAdvertiseRefsHook(AdvertiseRefsHook advertiseRefsHook)
Set the hook used while advertising the refs to the client.
|
Modifier and Type | Method and Description |
---|---|
static AdvertiseRefsHook |
AdvertiseRefsHookChain.newChain(java.util.List<? extends AdvertiseRefsHook> hooks)
Create a new hook chaining the given hooks together.
|
Constructor and Description |
---|
AdvertiseRefsHookChain(AdvertiseRefsHook[] hooks,
int count) |