public class UploadValidators
extends java.lang.Object
implements org.eclipse.jgit.transport.PreUploadHook
| Modifier and Type | Class and Description |
|---|---|
static interface |
UploadValidators.Factory |
| Modifier and Type | Method and Description |
|---|---|
void |
onBeginNegotiateRound(org.eclipse.jgit.transport.UploadPack up,
java.util.Collection<? extends org.eclipse.jgit.lib.ObjectId> wants,
int cntOffered) |
void |
onEndNegotiateRound(org.eclipse.jgit.transport.UploadPack up,
java.util.Collection<? extends org.eclipse.jgit.lib.ObjectId> wants,
int cntCommon,
int cntNotFound,
boolean ready) |
void |
onSendPack(org.eclipse.jgit.transport.UploadPack up,
java.util.Collection<? extends org.eclipse.jgit.lib.ObjectId> wants,
java.util.Collection<? extends org.eclipse.jgit.lib.ObjectId> haves) |
public void onSendPack(org.eclipse.jgit.transport.UploadPack up,
java.util.Collection<? extends org.eclipse.jgit.lib.ObjectId> wants,
java.util.Collection<? extends org.eclipse.jgit.lib.ObjectId> haves)
throws org.eclipse.jgit.transport.ServiceMayNotContinueException
onSendPack in interface org.eclipse.jgit.transport.PreUploadHookorg.eclipse.jgit.transport.ServiceMayNotContinueExceptionpublic void onBeginNegotiateRound(org.eclipse.jgit.transport.UploadPack up,
java.util.Collection<? extends org.eclipse.jgit.lib.ObjectId> wants,
int cntOffered)
throws org.eclipse.jgit.transport.ServiceMayNotContinueException
onBeginNegotiateRound in interface org.eclipse.jgit.transport.PreUploadHookorg.eclipse.jgit.transport.ServiceMayNotContinueExceptionpublic void onEndNegotiateRound(org.eclipse.jgit.transport.UploadPack up,
java.util.Collection<? extends org.eclipse.jgit.lib.ObjectId> wants,
int cntCommon,
int cntNotFound,
boolean ready)
throws org.eclipse.jgit.transport.ServiceMayNotContinueException
onEndNegotiateRound in interface org.eclipse.jgit.transport.PreUploadHookorg.eclipse.jgit.transport.ServiceMayNotContinueException