public abstract class AbstractMavenTransferListener extends AbstractTransferListener
Modifier and Type | Field and Description |
---|---|
protected PrintStream |
out |
Modifier | Constructor and Description |
---|---|
protected |
AbstractMavenTransferListener(PrintStream out) |
Modifier and Type | Method and Description |
---|---|
protected long |
toKB(long bytes) |
void |
transferCorrupted(TransferEvent event) |
void |
transferInitiated(TransferEvent event) |
void |
transferSucceeded(TransferEvent event) |
transferFailed, transferProgressed, transferStarted
protected PrintStream out
protected AbstractMavenTransferListener(PrintStream out)
public void transferInitiated(TransferEvent event)
transferInitiated
in interface TransferListener
transferInitiated
in class AbstractTransferListener
public void transferCorrupted(TransferEvent event) throws TransferCancelledException
transferCorrupted
in interface TransferListener
transferCorrupted
in class AbstractTransferListener
TransferCancelledException
public void transferSucceeded(TransferEvent event)
transferSucceeded
in interface TransferListener
transferSucceeded
in class AbstractTransferListener
protected long toKB(long bytes)
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.