Package org.eclipse.aether
Class AbstractRepositoryListener
java.lang.Object
org.eclipse.aether.AbstractRepositoryListener
- All Implemented Interfaces:
RepositoryListener
A skeleton implementation for custom repository listeners. The callback methods in this class do nothing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidartifactDeployed(RepositoryEvent event) Notifies the listener of an artifact whose upload to a remote repository has been completed, either successfully or not.voidartifactDeploying(RepositoryEvent event) Notifies the listener of an artifact that is about to be uploaded to a remote repository.voidNotifies the listener of a syntactically or semantically invalid artifact descriptor.voidNotifies the listener of a missing artifact descriptor.voidNotifies the listener of an artifact whose download has been completed, either successfully or not.voidNotifies the listener of an artifact that is about to be downloaded from a remote repository.voidartifactInstalled(RepositoryEvent event) Notifies the listener of an artifact whose installation to the local repository has been completed, either successfully or not.voidNotifies the listener of an artifact that is about to be installed to the local repository.voidartifactResolved(RepositoryEvent event) Notifies the listener of an artifact whose resolution has been completed, either successfully or not.voidartifactResolving(RepositoryEvent event) Notifies the listener of an artifact that is about to be resolved.voidmetadataDeployed(RepositoryEvent event) Notifies the listener of some metadata whose upload to a remote repository has been completed, either successfully or not.voidmetadataDeploying(RepositoryEvent event) Notifies the listener of some metadata that is about to be uploaded to a remote repository.voidNotifies the listener of some metadata whose download has been completed, either successfully or not.voidNotifies the listener of some metadata that is about to be downloaded from a remote repository.voidmetadataInstalled(RepositoryEvent event) Notifies the listener of some metadata whose installation to the local repository has been completed, either successfully or not.voidNotifies the listener of some metadata that is about to be installed to the local repository.voidmetadataInvalid(RepositoryEvent event) Notifies the listener of syntactically or semantically invalid metadata.voidmetadataResolved(RepositoryEvent event) Notifies the listener of some metadata whose resolution has been completed, either successfully or not.voidmetadataResolving(RepositoryEvent event) Notifies the listener of some metadata that is about to be resolved.
-
Constructor Details
-
AbstractRepositoryListener
protected AbstractRepositoryListener()Enables subclassing.
-
-
Method Details
-
artifactDeployed
Description copied from interface:RepositoryListenerNotifies the listener of an artifact whose upload to a remote repository has been completed, either successfully or not.RepositoryEvent.getArtifact()denotes the artifact in question andRepositoryEvent.getExceptions()indicates whether the upload succeeded or failed.- Specified by:
artifactDeployedin interfaceRepositoryListener- Parameters:
event- The event details, must not benull.
-
artifactDeploying
Description copied from interface:RepositoryListenerNotifies the listener of an artifact that is about to be uploaded to a remote repository.RepositoryEvent.getArtifact()denotes the artifact in question andRepositoryEvent.getRepository()the destination repository.- Specified by:
artifactDeployingin interfaceRepositoryListener- Parameters:
event- The event details, must not benull.
-
artifactDescriptorInvalid
Description copied from interface:RepositoryListenerNotifies the listener of a syntactically or semantically invalid artifact descriptor.RepositoryEvent.getArtifact()indicates the artifact whose descriptor is invalid andRepositoryEvent.getExceptions()carries the encountered errors. Depending on the session'sArtifactDescriptorPolicy, the underlying repository operation might abort with an exception or ignore the invalid descriptor.- Specified by:
artifactDescriptorInvalidin interfaceRepositoryListener- Parameters:
event- The event details, must not benull.
-
artifactDescriptorMissing
Description copied from interface:RepositoryListenerNotifies the listener of a missing artifact descriptor.RepositoryEvent.getArtifact()indicates the artifact whose descriptor is missing. Depending on the session'sArtifactDescriptorPolicy, the underlying repository operation might abort with an exception or ignore the missing descriptor.- Specified by:
artifactDescriptorMissingin interfaceRepositoryListener- Parameters:
event- The event details, must not benull.
-
artifactDownloaded
Description copied from interface:RepositoryListenerNotifies the listener of an artifact whose download has been completed, either successfully or not.RepositoryEvent.getArtifact()denotes the artifact in question andRepositoryEvent.getExceptions()indicates whether the download succeeded or failed. Unlike theRepositoryListener.artifactResolved(RepositoryEvent)event, this event is only fired when the artifact does not already exist locally.- Specified by:
artifactDownloadedin interfaceRepositoryListener- Parameters:
event- The event details, must not benull.
-
artifactDownloading
Description copied from interface:RepositoryListenerNotifies the listener of an artifact that is about to be downloaded from a remote repository.RepositoryEvent.getArtifact()denotes the artifact in question andRepositoryEvent.getRepository()the source repository. Unlike theRepositoryListener.artifactResolving(RepositoryEvent)event, this event is only fired when the artifact does not already exist locally.- Specified by:
artifactDownloadingin interfaceRepositoryListener- Parameters:
event- The event details, must not benull.
-
artifactInstalled
Description copied from interface:RepositoryListenerNotifies the listener of an artifact whose installation to the local repository has been completed, either successfully or not.RepositoryEvent.getArtifact()denotes the artifact in question andRepositoryEvent.getExceptions()indicates whether the installation succeeded or failed.- Specified by:
artifactInstalledin interfaceRepositoryListener- Parameters:
event- The event details, must not benull.
-
artifactInstalling
Description copied from interface:RepositoryListenerNotifies the listener of an artifact that is about to be installed to the local repository.RepositoryEvent.getArtifact()denotes the artifact in question.- Specified by:
artifactInstallingin interfaceRepositoryListener- Parameters:
event- The event details, must not benull.
-
artifactResolved
Description copied from interface:RepositoryListenerNotifies the listener of an artifact whose resolution has been completed, either successfully or not.RepositoryEvent.getArtifact()denotes the artifact in question andRepositoryEvent.getExceptions()indicates whether the resolution succeeded or failed. Unlike theRepositoryListener.artifactDownloaded(RepositoryEvent)event, this event is fired regardless whether the artifact already exists locally or not.- Specified by:
artifactResolvedin interfaceRepositoryListener- Parameters:
event- The event details, must not benull.
-
artifactResolving
Description copied from interface:RepositoryListenerNotifies the listener of an artifact that is about to be resolved.RepositoryEvent.getArtifact()denotes the artifact in question. Unlike theRepositoryListener.artifactDownloading(RepositoryEvent)event, this event is fired regardless whether the artifact already exists locally or not.- Specified by:
artifactResolvingin interfaceRepositoryListener- Parameters:
event- The event details, must not benull.
-
metadataDeployed
Description copied from interface:RepositoryListenerNotifies the listener of some metadata whose upload to a remote repository has been completed, either successfully or not.RepositoryEvent.getMetadata()denotes the metadata in question andRepositoryEvent.getExceptions()indicates whether the upload succeeded or failed.- Specified by:
metadataDeployedin interfaceRepositoryListener- Parameters:
event- The event details, must not benull.
-
metadataDeploying
Description copied from interface:RepositoryListenerNotifies the listener of some metadata that is about to be uploaded to a remote repository.RepositoryEvent.getMetadata()denotes the metadata in question andRepositoryEvent.getRepository()the destination repository.- Specified by:
metadataDeployingin interfaceRepositoryListener- Parameters:
event- The event details, must not benull.
-
metadataDownloaded
Description copied from interface:RepositoryListenerNotifies the listener of some metadata whose download has been completed, either successfully or not.RepositoryEvent.getMetadata()denotes the metadata in question andRepositoryEvent.getExceptions()indicates whether the download succeeded or failed. Unlike theRepositoryListener.metadataResolved(RepositoryEvent)event, this event is only fired when the metadata does not already exist locally.- Specified by:
metadataDownloadedin interfaceRepositoryListener- Parameters:
event- The event details, must not benull.
-
metadataDownloading
Description copied from interface:RepositoryListenerNotifies the listener of some metadata that is about to be downloaded from a remote repository.RepositoryEvent.getMetadata()denotes the metadata in question andRepositoryEvent.getRepository()the source repository. Unlike theRepositoryListener.metadataResolving(RepositoryEvent)event, this event is only fired when the metadata does not already exist locally.- Specified by:
metadataDownloadingin interfaceRepositoryListener- Parameters:
event- The event details, must not benull.
-
metadataInstalled
Description copied from interface:RepositoryListenerNotifies the listener of some metadata whose installation to the local repository has been completed, either successfully or not.RepositoryEvent.getMetadata()denotes the metadata in question andRepositoryEvent.getExceptions()indicates whether the installation succeeded or failed.- Specified by:
metadataInstalledin interfaceRepositoryListener- Parameters:
event- The event details, must not benull.
-
metadataInstalling
Description copied from interface:RepositoryListenerNotifies the listener of some metadata that is about to be installed to the local repository.RepositoryEvent.getMetadata()denotes the metadata in question.- Specified by:
metadataInstallingin interfaceRepositoryListener- Parameters:
event- The event details, must not benull.
-
metadataInvalid
Description copied from interface:RepositoryListenerNotifies the listener of syntactically or semantically invalid metadata.RepositoryEvent.getMetadata()indicates the invalid metadata andRepositoryEvent.getExceptions()carries the encountered errors. The underlying repository operation might still succeed, depending on whether the metadata in question is actually needed to carry out the resolution process.- Specified by:
metadataInvalidin interfaceRepositoryListener- Parameters:
event- The event details, must not benull.
-
metadataResolved
Description copied from interface:RepositoryListenerNotifies the listener of some metadata whose resolution has been completed, either successfully or not.RepositoryEvent.getMetadata()denotes the metadata in question andRepositoryEvent.getExceptions()indicates whether the resolution succeeded or failed. Unlike theRepositoryListener.metadataDownloaded(RepositoryEvent)event, this event is fired regardless whether the metadata already exists locally or not.- Specified by:
metadataResolvedin interfaceRepositoryListener- Parameters:
event- The event details, must not benull.
-
metadataResolving
Description copied from interface:RepositoryListenerNotifies the listener of some metadata that is about to be resolved.RepositoryEvent.getMetadata()denotes the metadata in question. Unlike theRepositoryListener.metadataDownloading(RepositoryEvent)event, this event is fired regardless whether the metadata already exists locally or not.- Specified by:
metadataResolvingin interfaceRepositoryListener- Parameters:
event- The event details, must not benull.
-