public interface ArtifactResolutionResult
Modifier and Type | Method | Description |
---|---|---|
Set<ComponentResult> |
getComponents() |
Return a set of
ComponentResult instances representing all requested components. |
Set<ComponentArtifactsResult> |
getResolvedComponents() |
Return a set of
ComponentResult instances representing all successfully resolved components. |
Set<ComponentResult> getComponents()
Return a set of ComponentResult
instances representing all requested components.
Each element in the returned set is declared as an opaque ComponentResult
.
However each element in the result will also implement one of the following interfaces:
ComponentArtifactsResult
for any component that could be resolved in the set of repositories.UnresolvedComponentResult
for any component that could not be resolved from the set of repositories.Set<ComponentArtifactsResult> getResolvedComponents()
Return a set of ComponentResult
instances representing all successfully resolved components.
Calling this method is the same as calling getComponents()
and filtering the resulting set for elements of type ComponentArtifactsResult
.