Class UploadValidators
java.lang.Object
com.google.gerrit.server.git.validators.UploadValidators
- All Implemented Interfaces:
- org.eclipse.jgit.transport.PreUploadHook
Collection of validators to run before Gerrit sends pack data to a client.
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields inherited from interface org.eclipse.jgit.transport.PreUploadHookNULL
- 
Method SummaryModifier and TypeMethodDescriptionvoidonBeginNegotiateRound(org.eclipse.jgit.transport.UploadPack up, Collection<? extends org.eclipse.jgit.lib.ObjectId> wants, int cntOffered) voidonEndNegotiateRound(org.eclipse.jgit.transport.UploadPack up, Collection<? extends org.eclipse.jgit.lib.ObjectId> wants, int cntCommon, int cntNotFound, boolean ready) voidonSendPack(org.eclipse.jgit.transport.UploadPack up, Collection<? extends org.eclipse.jgit.lib.ObjectId> wants, Collection<? extends org.eclipse.jgit.lib.ObjectId> haves) 
- 
Method Details- 
onSendPackpublic void onSendPack(org.eclipse.jgit.transport.UploadPack up, Collection<? extends org.eclipse.jgit.lib.ObjectId> wants, Collection<? extends org.eclipse.jgit.lib.ObjectId> haves) throws org.eclipse.jgit.transport.ServiceMayNotContinueException - Specified by:
- onSendPackin interface- org.eclipse.jgit.transport.PreUploadHook
- Throws:
- org.eclipse.jgit.transport.ServiceMayNotContinueException
 
- 
onBeginNegotiateRoundpublic void onBeginNegotiateRound(org.eclipse.jgit.transport.UploadPack up, Collection<? extends org.eclipse.jgit.lib.ObjectId> wants, int cntOffered) throws org.eclipse.jgit.transport.ServiceMayNotContinueException - Specified by:
- onBeginNegotiateRoundin interface- org.eclipse.jgit.transport.PreUploadHook
- Throws:
- org.eclipse.jgit.transport.ServiceMayNotContinueException
 
- 
onEndNegotiateRoundpublic void onEndNegotiateRound(org.eclipse.jgit.transport.UploadPack up, Collection<? extends org.eclipse.jgit.lib.ObjectId> wants, int cntCommon, int cntNotFound, boolean ready) throws org.eclipse.jgit.transport.ServiceMayNotContinueException - Specified by:
- onEndNegotiateRoundin interface- org.eclipse.jgit.transport.PreUploadHook
- Throws:
- org.eclipse.jgit.transport.ServiceMayNotContinueException
 
 
-