Example usage for Java org.eclipse.jgit.transport ReceivePack fields, constructors, methods, implement or subclass
The text is from its open source code.
ReceivePack(Repository into) Create a new pack receive for an open repository. |
Map | getAdvertisedRefs() Get refs which were advertised to the client. |
AdvertiseRefsHook | getAdvertiseRefsHook() Get the hook used while advertising the refs to the client |
long | getPackSize() Get the size of the received pack file including the index size. |
PostReceiveHook | getPostReceiveHook() Get the hook invoked after updates occur. |
PushCertificate | getPushCertificate() Get the push certificate used to verify the pusher's identity. |
PersonIdent | getRefLogIdent() Get identity of the user making the changes in the reflog. |
Repository | getRepository() Get the repository this receive completes into. |
void | receive(final InputStream input, final OutputStream output, final OutputStream messages) Execute the receive task on the socket. |
void | sendAdvertisedRefs(RefAdvertiser adv) Generate an advertisement of available refs and capabilities. |
void | sendMessage(String what) Send a message to the client, if it supports receiving them. |
void | setAllowCreates(boolean canCreate) Whether to permit create ref commands to be processed. |
void | setAllowDeletes(boolean canDelete) Whether to permit delete ref commands to be processed. |
void | setAllowNonFastForwards(boolean canRewind) Configure whether to permit the client to ask for non-fast-forward updates of an existing ref. |
void | setBiDirectionalPipe(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. |
void | setCheckReceivedObjects(boolean check) Whether to enable checking received objects |
void | setMaxObjectSizeLimit(long limit) Set the maximum allowed Git object size. |
void | setMaxPackSizeLimit(long limit) Set the maximum allowed pack size. |
void | setPostReceiveHook(PostReceiveHook h) Set the hook which is invoked after commands are executed. |
void | setPreReceiveHook(PreReceiveHook h) Set the hook which is invoked prior to commands being executed. |
void | setRefLogIdent(PersonIdent pi) Set the identity of the user appearing in the affected reflogs. |
void | setTimeout(int seconds) Set the timeout before willing to abort an IO call. |