Package | Description |
---|---|
org.eclipse.aether |
The primary API of the
RepositorySystem and its functionality. |
org.eclipse.aether.connector.basic |
Support for downloads/uploads using remote repositories that have a URI-based content structure/layout.
|
org.eclipse.aether.internal.impl |
The various sub components that collectively implement the repository system.
|
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 | Field and Description |
---|---|
private TransferListener |
DefaultRepositorySystemSession.transferListener |
Modifier and Type | Method and Description |
---|---|
TransferListener |
AbstractForwardingRepositorySystemSession.getTransferListener() |
TransferListener |
RepositorySystemSession.getTransferListener()
Gets the listener being notified of uploads/downloads by the repository system.
|
TransferListener |
DefaultRepositorySystemSession.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 | Field and Description |
---|---|
private TransferListener |
TransferTransportListener.listener |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
DefaultDeployer.ArtifactUploadListener |
(package private) static class |
DefaultDeployer.MetadataUploadListener |
(package private) class |
SafeTransferListener |
Modifier and Type | Field and Description |
---|---|
private TransferListener |
SafeTransferListener.listener |
Modifier and Type | Method and Description |
---|---|
static TransferListener |
SafeTransferListener.wrap(RepositorySystemSession session,
Logger logger) |
Constructor and Description |
---|
SafeTransferListener(TransferListener listener,
Logger logger) |
Modifier and Type | Field and Description |
---|---|
private TransferListener |
Transfer.listener |
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 |
---|---|
ArtifactUpload |
ArtifactUpload.setListener(TransferListener listener) |
(package private) Transfer |
Transfer.setListener(TransferListener listener)
Sets the listener that is to be notified during the transfer.
|
MetadataDownload |
MetadataDownload.setListener(TransferListener listener) |
MetadataUpload |
MetadataUpload.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 | Field and Description |
---|---|
private java.util.List<TransferListener> |
ChainedTransferListener.listeners |
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,
java.lang.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(java.util.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(java.util.Collection<? extends TransferListener> listeners)
Creates a new multicast listener that delegates to the specified listeners.
|