Top Description Fields Methods
org.eclipse.jgit.transport

public Interface PostUploadHook

Known Direct Implementers
org.eclipse.jgit.transport.PostUploadHookChain
Imports
org.eclipse.jgit.storage.pack.PackStatistics

Hook invoked by org.eclipse.jgit.transport.UploadPack after the pack has been uploaded.

Implementors of the interface are responsible for associating the current thread to a particular connection, if they need to also include connection information. One method is to use a java.lang.ThreadLocal to remember the connection information before invoking UploadPack.

Since
4.1

Field Summary

Modifier and TypeField and Description
public static final PostUploadHook
NULL

A simple no-op hook.

Method Summary

Modifier and TypeMethod and Description
public void
onPostUpload(PackStatistics
the statistics gathered by org.eclipse.jgit.internal.storage.pack.PackWriter for the uploaded pack
stats
)

Notifies the hook that a pack has been sent.

Field Detail

NULLback to summary
public static final PostUploadHook NULL

A simple no-op hook.

Method Detail

onPostUploadback to summary
public void onPostUpload(PackStatistics stats)

Notifies the hook that a pack has been sent.

Parameters
stats:PackStatistics

the statistics gathered by org.eclipse.jgit.internal.storage.pack.PackWriter for the uploaded pack