public final class ChainedRepositoryListener
extends org.eclipse.aether.AbstractRepositoryListener
| Constructor and Description |
|---|
ChainedRepositoryListener(Collection<? extends org.eclipse.aether.RepositoryListener> listeners)
Creates a new multicast listener that delegates to the specified listeners.
|
ChainedRepositoryListener(org.eclipse.aether.RepositoryListener... listeners)
Creates a new multicast listener that delegates to the specified listeners.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Collection<? extends org.eclipse.aether.RepositoryListener> listeners)
Adds the specified listeners to the end of the multicast chain.
|
void |
add(org.eclipse.aether.RepositoryListener listener)
Adds the specified listener to the end of the multicast chain.
|
void |
artifactDeployed(org.eclipse.aether.RepositoryEvent event) |
void |
artifactDeploying(org.eclipse.aether.RepositoryEvent event) |
void |
artifactDescriptorInvalid(org.eclipse.aether.RepositoryEvent event) |
void |
artifactDescriptorMissing(org.eclipse.aether.RepositoryEvent event) |
void |
artifactDownloaded(org.eclipse.aether.RepositoryEvent event) |
void |
artifactDownloading(org.eclipse.aether.RepositoryEvent event) |
void |
artifactInstalled(org.eclipse.aether.RepositoryEvent event) |
void |
artifactInstalling(org.eclipse.aether.RepositoryEvent event) |
void |
artifactResolved(org.eclipse.aether.RepositoryEvent event) |
void |
artifactResolving(org.eclipse.aether.RepositoryEvent event) |
protected void |
handleError(org.eclipse.aether.RepositoryEvent event,
org.eclipse.aether.RepositoryListener listener,
RuntimeException error) |
void |
metadataDeployed(org.eclipse.aether.RepositoryEvent event) |
void |
metadataDeploying(org.eclipse.aether.RepositoryEvent event) |
void |
metadataDownloaded(org.eclipse.aether.RepositoryEvent event) |
void |
metadataDownloading(org.eclipse.aether.RepositoryEvent event) |
void |
metadataInstalled(org.eclipse.aether.RepositoryEvent event) |
void |
metadataInstalling(org.eclipse.aether.RepositoryEvent event) |
void |
metadataInvalid(org.eclipse.aether.RepositoryEvent event) |
void |
metadataResolved(org.eclipse.aether.RepositoryEvent event) |
void |
metadataResolving(org.eclipse.aether.RepositoryEvent event) |
static org.eclipse.aether.RepositoryListener |
newInstance(org.eclipse.aether.RepositoryListener listener1,
org.eclipse.aether.RepositoryListener listener2)
Creates a new multicast listener that delegates to the specified listeners.
|
void |
remove(org.eclipse.aether.RepositoryListener listener)
Removes the specified listener from the multicast chain.
|
public ChainedRepositoryListener(org.eclipse.aether.RepositoryListener... listeners)
listeners - The listeners to delegate to, may be null or empty.public ChainedRepositoryListener(Collection<? extends org.eclipse.aether.RepositoryListener> listeners)
listeners - The listeners to delegate to, may be null or empty.public static org.eclipse.aether.RepositoryListener newInstance(org.eclipse.aether.RepositoryListener listener1,
org.eclipse.aether.RepositoryListener listener2)
null.listener1 - The first listener, may be null.listener2 - The second listener, may be null.null if no listener was supplied.public void add(Collection<? extends org.eclipse.aether.RepositoryListener> listeners)
listeners - The listeners to add, may be null or empty.public void add(org.eclipse.aether.RepositoryListener listener)
listener - The listener to add, may be null.public void remove(org.eclipse.aether.RepositoryListener listener)
listener - The listener to remove, may be null.protected void handleError(org.eclipse.aether.RepositoryEvent event,
org.eclipse.aether.RepositoryListener listener,
RuntimeException error)
public void artifactDeployed(org.eclipse.aether.RepositoryEvent event)
artifactDeployed in interface org.eclipse.aether.RepositoryListenerartifactDeployed in class org.eclipse.aether.AbstractRepositoryListenerpublic void artifactDeploying(org.eclipse.aether.RepositoryEvent event)
artifactDeploying in interface org.eclipse.aether.RepositoryListenerartifactDeploying in class org.eclipse.aether.AbstractRepositoryListenerpublic void artifactDescriptorInvalid(org.eclipse.aether.RepositoryEvent event)
artifactDescriptorInvalid in interface org.eclipse.aether.RepositoryListenerartifactDescriptorInvalid in class org.eclipse.aether.AbstractRepositoryListenerpublic void artifactDescriptorMissing(org.eclipse.aether.RepositoryEvent event)
artifactDescriptorMissing in interface org.eclipse.aether.RepositoryListenerartifactDescriptorMissing in class org.eclipse.aether.AbstractRepositoryListenerpublic void artifactDownloaded(org.eclipse.aether.RepositoryEvent event)
artifactDownloaded in interface org.eclipse.aether.RepositoryListenerartifactDownloaded in class org.eclipse.aether.AbstractRepositoryListenerpublic void artifactDownloading(org.eclipse.aether.RepositoryEvent event)
artifactDownloading in interface org.eclipse.aether.RepositoryListenerartifactDownloading in class org.eclipse.aether.AbstractRepositoryListenerpublic void artifactInstalled(org.eclipse.aether.RepositoryEvent event)
artifactInstalled in interface org.eclipse.aether.RepositoryListenerartifactInstalled in class org.eclipse.aether.AbstractRepositoryListenerpublic void artifactInstalling(org.eclipse.aether.RepositoryEvent event)
artifactInstalling in interface org.eclipse.aether.RepositoryListenerartifactInstalling in class org.eclipse.aether.AbstractRepositoryListenerpublic void artifactResolved(org.eclipse.aether.RepositoryEvent event)
artifactResolved in interface org.eclipse.aether.RepositoryListenerartifactResolved in class org.eclipse.aether.AbstractRepositoryListenerpublic void artifactResolving(org.eclipse.aether.RepositoryEvent event)
artifactResolving in interface org.eclipse.aether.RepositoryListenerartifactResolving in class org.eclipse.aether.AbstractRepositoryListenerpublic void metadataDeployed(org.eclipse.aether.RepositoryEvent event)
metadataDeployed in interface org.eclipse.aether.RepositoryListenermetadataDeployed in class org.eclipse.aether.AbstractRepositoryListenerpublic void metadataDeploying(org.eclipse.aether.RepositoryEvent event)
metadataDeploying in interface org.eclipse.aether.RepositoryListenermetadataDeploying in class org.eclipse.aether.AbstractRepositoryListenerpublic void metadataDownloaded(org.eclipse.aether.RepositoryEvent event)
metadataDownloaded in interface org.eclipse.aether.RepositoryListenermetadataDownloaded in class org.eclipse.aether.AbstractRepositoryListenerpublic void metadataDownloading(org.eclipse.aether.RepositoryEvent event)
metadataDownloading in interface org.eclipse.aether.RepositoryListenermetadataDownloading in class org.eclipse.aether.AbstractRepositoryListenerpublic void metadataInstalled(org.eclipse.aether.RepositoryEvent event)
metadataInstalled in interface org.eclipse.aether.RepositoryListenermetadataInstalled in class org.eclipse.aether.AbstractRepositoryListenerpublic void metadataInstalling(org.eclipse.aether.RepositoryEvent event)
metadataInstalling in interface org.eclipse.aether.RepositoryListenermetadataInstalling in class org.eclipse.aether.AbstractRepositoryListenerpublic void metadataInvalid(org.eclipse.aether.RepositoryEvent event)
metadataInvalid in interface org.eclipse.aether.RepositoryListenermetadataInvalid in class org.eclipse.aether.AbstractRepositoryListenerpublic void metadataResolved(org.eclipse.aether.RepositoryEvent event)
metadataResolved in interface org.eclipse.aether.RepositoryListenermetadataResolved in class org.eclipse.aether.AbstractRepositoryListenerpublic void metadataResolving(org.eclipse.aether.RepositoryEvent event)
metadataResolving in interface org.eclipse.aether.RepositoryListenermetadataResolving in class org.eclipse.aether.AbstractRepositoryListenerCopyright © 2010-2015 The Eclipse Foundation. All Rights Reserved.