Class ReverseTreeRepositoryListener
java.lang.Object
org.eclipse.aether.AbstractRepositoryListener
org.apache.maven.resolver.examples.util.ReverseTreeRepositoryListener
- All Implemented Interfaces:
RepositoryListener
A demo class building reverse tree using
CollectStepData trace data provided in RepositoryEvent
events fired during collection.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidartifactResolved(RepositoryEvent event) Notifies the listener of an artifact whose resolution has been completed, either successfully or not.Methods inherited from class org.eclipse.aether.AbstractRepositoryListener
artifactDeployed, artifactDeploying, artifactDescriptorInvalid, artifactDescriptorMissing, artifactDownloaded, artifactDownloading, artifactInstalled, artifactInstalling, artifactResolving, metadataDeployed, metadataDeploying, metadataDownloaded, metadataDownloading, metadataInstalled, metadataInstalling, metadataInvalid, metadataResolved, metadataResolving
-
Constructor Details
-
ReverseTreeRepositoryListener
public ReverseTreeRepositoryListener()
-
-
Method Details
-
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- Overrides:
artifactResolvedin classAbstractRepositoryListener- Parameters:
event- The event details, must not benull.
-