Package org.openrewrite.maven.tree
Interface ResolutionEventListener
- All Known Implementing Classes:
GraphvizResolutionEventListener
public interface ResolutionEventListener
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault voidbomImport(ResolvedGroupArtifactVersion gav, Pom containing) default voidclear()default voiddependency(Scope scope, ResolvedDependency resolvedDependency, ResolvedPom containing) default voiddependencyManagement(ManagedDependency dependencyManagement, Pom containing) default voiddefault voiddownloadError(GroupArtifactVersion gav, List<String> attemptedUris, @Nullable Pom containing) default voiddefault voiddownloadSuccess(ResolvedGroupArtifactVersion gav, @Nullable ResolvedPom containing) default voiddefault voiddefault voidrepository(MavenRepository mavenRepository, @Nullable ResolvedPom containing) default voidrepositoryAccessFailed(String uri, Throwable e)
-
Field Details
-
NOOP
-
-
Method Details
-
clear
default void clear() -
downloadMetadata
-
download
-
downloadSuccess
-
downloadError
default void downloadError(GroupArtifactVersion gav, List<String> attemptedUris, @Nullable Pom containing) - Parameters:
gav- - GAV coordinate of the dependency which failed to downloadattemptedUris- - The URIs which were attempted, in the order they were attempted, before resolution was determined to have failedcontaining- - The pom containing the dependency which failed to resolve, if resolution was attempted from such a context
-
parent
-
dependency
-
bomImport
-
property
-
dependencyManagement
-
repository
-
repositoryAccessFailed
-