Package com.google.gerrit.server.git
Class DefaultAdvertiseRefsHook
- java.lang.Object
-
- org.eclipse.jgit.transport.AbstractAdvertiseRefsHook
-
- com.google.gerrit.server.git.DefaultAdvertiseRefsHook
-
- All Implemented Interfaces:
org.eclipse.jgit.transport.AdvertiseRefsHook
public class DefaultAdvertiseRefsHook extends org.eclipse.jgit.transport.AbstractAdvertiseRefsHook
Wrapper aroundPermissionBackend.ForProject
that implementsAdvertiseRefsHook
.
-
-
Constructor Summary
Constructors Constructor Description DefaultAdvertiseRefsHook(PermissionBackend.ForProject perm, PermissionBackend.RefFilterOptions opts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,org.eclipse.jgit.lib.Ref>
getAdvertisedRefs(org.eclipse.jgit.lib.Repository repo, org.eclipse.jgit.revwalk.RevWalk revWalk)
-
-
-
Constructor Detail
-
DefaultAdvertiseRefsHook
public DefaultAdvertiseRefsHook(PermissionBackend.ForProject perm, PermissionBackend.RefFilterOptions opts)
-
-
Method Detail
-
getAdvertisedRefs
protected Map<String,org.eclipse.jgit.lib.Ref> getAdvertisedRefs(org.eclipse.jgit.lib.Repository repo, org.eclipse.jgit.revwalk.RevWalk revWalk) throws org.eclipse.jgit.transport.ServiceMayNotContinueException
- Specified by:
getAdvertisedRefs
in classorg.eclipse.jgit.transport.AbstractAdvertiseRefsHook
- Throws:
org.eclipse.jgit.transport.ServiceMayNotContinueException
-
-