Package org.apache.maven.cli.transfer
Class ConsoleMavenTransferListener
java.lang.Object
org.eclipse.aether.transfer.AbstractTransferListener
org.apache.maven.cli.transfer.AbstractMavenTransferListener
org.apache.maven.cli.transfer.ConsoleMavenTransferListener
- All Implemented Interfaces:
org.eclipse.aether.transfer.TransferListener
Console download progress meter.
- Author:
- Brett Porter
-
Field Summary
Fields inherited from class org.apache.maven.cli.transfer.AbstractMavenTransferListener
out
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
ConsoleMavenTransferListener
-
-
Method Details
-
transferInitiated
public void transferInitiated(org.eclipse.aether.transfer.TransferEvent event) - Specified by:
transferInitiated
in interfaceorg.eclipse.aether.transfer.TransferListener
- Overrides:
transferInitiated
in classAbstractMavenTransferListener
-
transferCorrupted
public void transferCorrupted(org.eclipse.aether.transfer.TransferEvent event) throws org.eclipse.aether.transfer.TransferCancelledException - Specified by:
transferCorrupted
in interfaceorg.eclipse.aether.transfer.TransferListener
- Overrides:
transferCorrupted
in classAbstractMavenTransferListener
- Throws:
org.eclipse.aether.transfer.TransferCancelledException
-
transferProgressed
public void transferProgressed(org.eclipse.aether.transfer.TransferEvent event) throws org.eclipse.aether.transfer.TransferCancelledException - Specified by:
transferProgressed
in interfaceorg.eclipse.aether.transfer.TransferListener
- Overrides:
transferProgressed
in classorg.eclipse.aether.transfer.AbstractTransferListener
- Throws:
org.eclipse.aether.transfer.TransferCancelledException
-
transferSucceeded
public void transferSucceeded(org.eclipse.aether.transfer.TransferEvent event) - Specified by:
transferSucceeded
in interfaceorg.eclipse.aether.transfer.TransferListener
- Overrides:
transferSucceeded
in classAbstractMavenTransferListener
-
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
-