Package | Description |
---|---|
org.apache.maven.resolver.examples.util | |
org.eclipse.aether |
The primary API of the
RepositorySystem and its functionality. |
org.eclipse.aether.spi.connector |
The contract to access artifacts/metadata in remote repositories.
|
org.eclipse.aether.transfer |
A listener and various exception types dealing with the transfer of a resource between the local system and a remote
repository.
|
org.eclipse.aether.util.listener |
Utilities to build repository and transfer listeners.
|
Modifier and Type | Class and Description |
---|---|
class |
ConsoleTransferListener
A simplistic transfer listener that logs uploads/downloads to the console.
|
Modifier and Type | Method and Description |
---|---|
TransferListener |
RepositorySystemSession.getTransferListener()
Gets the listener being notified of uploads/downloads by the repository system.
|
TransferListener |
DefaultRepositorySystemSession.getTransferListener() |
TransferListener |
AbstractForwardingRepositorySystemSession.getTransferListener() |
Modifier and Type | Method and Description |
---|---|
DefaultRepositorySystemSession |
DefaultRepositorySystemSession.setTransferListener(TransferListener transferListener)
Sets the listener being notified of uploads/downloads by the repository system.
|
Modifier and Type | Method and Description |
---|---|
TransferListener |
Transfer.getListener()
Gets the listener that is to be notified during the transfer.
|
Modifier and Type | Method and Description |
---|---|
MetadataUpload |
MetadataUpload.setListener(TransferListener listener) |
MetadataDownload |
MetadataDownload.setListener(TransferListener listener) |
ArtifactUpload |
ArtifactUpload.setListener(TransferListener listener) |
ArtifactDownload |
ArtifactDownload.setListener(TransferListener listener) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTransferListener
A skeleton implementation for custom transfer listeners.
|
Modifier and Type | Class and Description |
---|---|
class |
ChainedTransferListener
A transfer listener that delegates to zero or more other listeners (multicast).
|
Modifier and Type | Method and Description |
---|---|
static TransferListener |
ChainedTransferListener.newInstance(TransferListener listener1,
TransferListener listener2)
Creates a new multicast listener that delegates to the specified listeners.
|
Modifier and Type | Method and Description |
---|---|
void |
ChainedTransferListener.add(TransferListener listener)
Adds the specified listener to the end of the multicast chain.
|
protected void |
ChainedTransferListener.handleError(TransferEvent event,
TransferListener listener,
RuntimeException error) |
static TransferListener |
ChainedTransferListener.newInstance(TransferListener listener1,
TransferListener listener2)
Creates a new multicast listener that delegates to the specified listeners.
|
void |
ChainedTransferListener.remove(TransferListener listener)
Removes the specified listener from the multicast chain.
|
Modifier and Type | Method and Description |
---|---|
void |
ChainedTransferListener.add(Collection<? extends TransferListener> listeners)
Adds the specified listeners to the end of the multicast chain.
|
Constructor and Description |
---|
ChainedTransferListener(TransferListener... listeners)
Creates a new multicast listener that delegates to the specified listeners.
|
Constructor and Description |
---|
ChainedTransferListener(Collection<? extends TransferListener> listeners)
Creates a new multicast listener that delegates to the specified listeners.
|
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.