public final class ChainedRepositoryListener extends AbstractRepositoryListener
| Constructor and Description |
|---|
ChainedRepositoryListener(Collection<? extends RepositoryListener> listeners)
Creates a new multicast listener that delegates to the specified listeners.
|
ChainedRepositoryListener(RepositoryListener... listeners)
Creates a new multicast listener that delegates to the specified listeners.
|
public ChainedRepositoryListener(RepositoryListener... listeners)
listeners - The listeners to delegate to, may be null or empty.public ChainedRepositoryListener(Collection<? extends RepositoryListener> listeners)
listeners - The listeners to delegate to, may be null or empty.public static RepositoryListener newInstance(RepositoryListener listener1, 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 RepositoryListener> listeners)
listeners - The listeners to add, may be null or empty.public void add(RepositoryListener listener)
listener - The listener to add, may be null.public void remove(RepositoryListener listener)
listener - The listener to remove, may be null.protected void handleError(RepositoryEvent event, RepositoryListener listener, RuntimeException error)
public void artifactDeployed(RepositoryEvent event)
artifactDeployed in interface RepositoryListenerartifactDeployed in class AbstractRepositoryListenerpublic void artifactDeploying(RepositoryEvent event)
artifactDeploying in interface RepositoryListenerartifactDeploying in class AbstractRepositoryListenerpublic void artifactDescriptorInvalid(RepositoryEvent event)
artifactDescriptorInvalid in interface RepositoryListenerartifactDescriptorInvalid in class AbstractRepositoryListenerpublic void artifactDescriptorMissing(RepositoryEvent event)
artifactDescriptorMissing in interface RepositoryListenerartifactDescriptorMissing in class AbstractRepositoryListenerpublic void artifactDownloaded(RepositoryEvent event)
artifactDownloaded in interface RepositoryListenerartifactDownloaded in class AbstractRepositoryListenerpublic void artifactDownloading(RepositoryEvent event)
artifactDownloading in interface RepositoryListenerartifactDownloading in class AbstractRepositoryListenerpublic void artifactInstalled(RepositoryEvent event)
artifactInstalled in interface RepositoryListenerartifactInstalled in class AbstractRepositoryListenerpublic void artifactInstalling(RepositoryEvent event)
artifactInstalling in interface RepositoryListenerartifactInstalling in class AbstractRepositoryListenerpublic void artifactResolved(RepositoryEvent event)
artifactResolved in interface RepositoryListenerartifactResolved in class AbstractRepositoryListenerpublic void artifactResolving(RepositoryEvent event)
artifactResolving in interface RepositoryListenerartifactResolving in class AbstractRepositoryListenerpublic void metadataDeployed(RepositoryEvent event)
metadataDeployed in interface RepositoryListenermetadataDeployed in class AbstractRepositoryListenerpublic void metadataDeploying(RepositoryEvent event)
metadataDeploying in interface RepositoryListenermetadataDeploying in class AbstractRepositoryListenerpublic void metadataDownloaded(RepositoryEvent event)
metadataDownloaded in interface RepositoryListenermetadataDownloaded in class AbstractRepositoryListenerpublic void metadataDownloading(RepositoryEvent event)
metadataDownloading in interface RepositoryListenermetadataDownloading in class AbstractRepositoryListenerpublic void metadataInstalled(RepositoryEvent event)
metadataInstalled in interface RepositoryListenermetadataInstalled in class AbstractRepositoryListenerpublic void metadataInstalling(RepositoryEvent event)
metadataInstalling in interface RepositoryListenermetadataInstalling in class AbstractRepositoryListenerpublic void metadataInvalid(RepositoryEvent event)
metadataInvalid in interface RepositoryListenermetadataInvalid in class AbstractRepositoryListenerpublic void metadataResolved(RepositoryEvent event)
metadataResolved in interface RepositoryListenermetadataResolved in class AbstractRepositoryListenerpublic void metadataResolving(RepositoryEvent event)
metadataResolving in interface RepositoryListenermetadataResolving in class AbstractRepositoryListenerCopyright © 2010–2021 The Apache Software Foundation. All rights reserved.