Java org.eclipse.jgit.transport ReceivePack fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.transport ReceivePack fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jgit.transport ReceivePack.

The text is from its open source code.

Subclass

org.eclipse.jgit.transport.ReceivePack has subclasses.
Click this link to see all its subclasses.

Constructor

ReceivePack(Repository into)
Create a new pack receive for an open repository.

Method

MapgetAdvertisedRefs()
Get refs which were advertised to the client.
AdvertiseRefsHookgetAdvertiseRefsHook()
Get the hook used while advertising the refs to the client
longgetPackSize()
Get the size of the received pack file including the index size.
PostReceiveHookgetPostReceiveHook()
Get the hook invoked after updates occur.
PushCertificategetPushCertificate()
Get the push certificate used to verify the pusher's identity.
PersonIdentgetRefLogIdent()
Get identity of the user making the changes in the reflog.
RepositorygetRepository()
Get the repository this receive completes into.
voidreceive(final InputStream input, final OutputStream output, final OutputStream messages)
Execute the receive task on the socket.
voidsendAdvertisedRefs(RefAdvertiser adv)
Generate an advertisement of available refs and capabilities.
voidsendMessage(String what)
Send a message to the client, if it supports receiving them.
voidsetAllowCreates(boolean canCreate)
Whether to permit create ref commands to be processed.
voidsetAllowDeletes(boolean canDelete)
Whether to permit delete ref commands to be processed.
voidsetAllowNonFastForwards(boolean canRewind)
Configure whether to permit the client to ask for non-fast-forward updates of an existing ref.
voidsetBiDirectionalPipe(boolean twoWay)
Whether this class will assume the socket is a fully bidirectional pipe between the two peers and takes advantage of that by first transmitting the known refs, then waiting to read commands.
voidsetCheckReceivedObjects(boolean check)
Whether to enable checking received objects
voidsetMaxObjectSizeLimit(long limit)
Set the maximum allowed Git object size.
voidsetMaxPackSizeLimit(long limit)
Set the maximum allowed pack size.
voidsetPostReceiveHook(PostReceiveHook h)
Set the hook which is invoked after commands are executed.
voidsetPreReceiveHook(PreReceiveHook h)
Set the hook which is invoked prior to commands being executed.
voidsetRefLogIdent(PersonIdent pi)
Set the identity of the user appearing in the affected reflogs.
voidsetTimeout(int seconds)
Set the timeout before willing to abort an IO call.