org.eclipse.jgit.transport
Class UploadPackLoggerChain
java.lang.Object
org.eclipse.jgit.transport.UploadPackLoggerChain
- All Implemented Interfaces:
- UploadPackLogger
public class UploadPackLoggerChain
- extends Object
- implements UploadPackLogger
UploadPackLogger
that delegates to a list of other loggers.
loggers are run in the order passed to the constructor.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newChain
public static UploadPackLogger newChain(List<? extends UploadPackLogger> loggers)
- Create a new logger chaining the given loggers together.
- Parameters:
loggers
- loggers to execute, in order.
- Returns:
- a new logger chain of the given loggers.
onPackStatistics
public void onPackStatistics(PackWriter.Statistics stats)
- Description copied from interface:
UploadPackLogger
- Notice to the logger after a pack has been sent.
- Specified by:
onPackStatistics
in interface UploadPackLogger
- Parameters:
stats
- the statistics after sending a pack to the client.
Copyright © 2013. All Rights Reserved.