Class DefaultAdvertiseRefsHook

  • All Implemented Interfaces:
    org.eclipse.jgit.transport.AdvertiseRefsHook

    public class DefaultAdvertiseRefsHook
    extends org.eclipse.jgit.transport.AbstractAdvertiseRefsHook
    Wrapper around PermissionBackend.ForProject that implements AdvertiseRefsHook.
    • 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 class org.eclipse.jgit.transport.AbstractAdvertiseRefsHook
        Throws:
        org.eclipse.jgit.transport.ServiceMayNotContinueException