|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RefFilter
Filters the list of refs that are advertised to the client.
The filter is called by ReceivePack
and UploadPack
to ensure
that the refs are filtered before they are advertised to the client.
This can be used by applications to control visibility of certain refs based on a custom set of rules.
Field Summary | |
---|---|
static RefFilter |
DEFAULT
The default filter, allows all refs to be shown. |
Method Summary | |
---|---|
Map<String,Ref> |
filter(Map<String,Ref> refs)
Filters a Map of refs before it is advertised to the client. |
Field Detail |
---|
static final RefFilter DEFAULT
Method Detail |
---|
Map<String,Ref> filter(Map<String,Ref> refs)
Map
of refs before it is advertised to the client.
refs
- the refs which this method need to consider.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |