Class ConsoleTransferListener
java.lang.Object
org.eclipse.aether.transfer.AbstractTransferListener
org.jenkinsci.test.acceptance.utils.aether.ConsoleTransferListener
- All Implemented Interfaces:
org.eclipse.aether.transfer.TransferListener
public class ConsoleTransferListener
extends org.eclipse.aether.transfer.AbstractTransferListener
A simplistic transfer listener that logs uploads/downloads to the console.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected long
toKB
(long bytes) void
transferCorrupted
(org.eclipse.aether.transfer.TransferEvent event) void
transferFailed
(org.eclipse.aether.transfer.TransferEvent event) void
transferInitiated
(org.eclipse.aether.transfer.TransferEvent event) void
transferProgressed
(org.eclipse.aether.transfer.TransferEvent event) void
transferSucceeded
(org.eclipse.aether.transfer.TransferEvent event) Methods inherited from class org.eclipse.aether.transfer.AbstractTransferListener
transferStarted
-
Constructor Details
-
ConsoleTransferListener
public ConsoleTransferListener() -
ConsoleTransferListener
-
-
Method Details
-
transferInitiated
public void transferInitiated(org.eclipse.aether.transfer.TransferEvent event) - Specified by:
transferInitiated
in interfaceorg.eclipse.aether.transfer.TransferListener
- Overrides:
transferInitiated
in classorg.eclipse.aether.transfer.AbstractTransferListener
-
transferProgressed
public void transferProgressed(org.eclipse.aether.transfer.TransferEvent event) - Specified by:
transferProgressed
in interfaceorg.eclipse.aether.transfer.TransferListener
- Overrides:
transferProgressed
in classorg.eclipse.aether.transfer.AbstractTransferListener
-
transferSucceeded
public void transferSucceeded(org.eclipse.aether.transfer.TransferEvent event) - Specified by:
transferSucceeded
in interfaceorg.eclipse.aether.transfer.TransferListener
- Overrides:
transferSucceeded
in classorg.eclipse.aether.transfer.AbstractTransferListener
-
transferFailed
public void transferFailed(org.eclipse.aether.transfer.TransferEvent event) - Specified by:
transferFailed
in interfaceorg.eclipse.aether.transfer.TransferListener
- Overrides:
transferFailed
in classorg.eclipse.aether.transfer.AbstractTransferListener
-
transferCorrupted
public void transferCorrupted(org.eclipse.aether.transfer.TransferEvent event) - Specified by:
transferCorrupted
in interfaceorg.eclipse.aether.transfer.TransferListener
- Overrides:
transferCorrupted
in classorg.eclipse.aether.transfer.AbstractTransferListener
-
toKB
protected long toKB(long bytes)
-