public abstract class AbstractMavenTransferListener
extends org.eclipse.aether.transfer.AbstractTransferListener
Modifier and Type | Class and Description |
---|---|
(package private) static class |
AbstractMavenTransferListener.FileSizeFormat
Formats file size with the associated SI prefix
(GB, MB, kB) and using the patterns
#0.0 for numbers between 1 and 10
and ###0 for numbers between 10 and 1000+ by default. |
Modifier and Type | Field and Description |
---|---|
protected java.io.PrintStream |
out |
Modifier | Constructor and Description |
---|---|
protected |
AbstractMavenTransferListener(java.io.PrintStream out) |
Modifier and Type | Method and Description |
---|---|
void |
transferCorrupted(org.eclipse.aether.transfer.TransferEvent event) |
void |
transferInitiated(org.eclipse.aether.transfer.TransferEvent event) |
void |
transferSucceeded(org.eclipse.aether.transfer.TransferEvent event) |
protected AbstractMavenTransferListener(java.io.PrintStream out)
public void transferInitiated(org.eclipse.aether.transfer.TransferEvent event)
transferInitiated
in interface org.eclipse.aether.transfer.TransferListener
transferInitiated
in class org.eclipse.aether.transfer.AbstractTransferListener
public void transferCorrupted(org.eclipse.aether.transfer.TransferEvent event) throws org.eclipse.aether.transfer.TransferCancelledException
transferCorrupted
in interface org.eclipse.aether.transfer.TransferListener
transferCorrupted
in class org.eclipse.aether.transfer.AbstractTransferListener
org.eclipse.aether.transfer.TransferCancelledException
public void transferSucceeded(org.eclipse.aether.transfer.TransferEvent event)
transferSucceeded
in interface org.eclipse.aether.transfer.TransferListener
transferSucceeded
in class org.eclipse.aether.transfer.AbstractTransferListener