public class ArtifactResolutionResult extends Object
Constructor and Description |
---|
ArtifactResolutionResult() |
public Artifact getOriginatingArtifact()
public ArtifactResolutionResult setOriginatingArtifact(Artifact originatingArtifact)
public void addArtifact(Artifact artifact)
public Set<ResolutionNode> getArtifactResolutionNodes()
public void setArtifactResolutionNodes(Set<ResolutionNode> resolutionNodes)
public boolean hasMissingArtifacts()
public ArtifactResolutionResult addMissingArtifact(Artifact artifact)
public ArtifactResolutionResult setUnresolvedArtifacts(List<Artifact> unresolvedArtifacts)
public boolean isSuccess()
public boolean hasExceptions()
public boolean hasVersionRangeViolations()
public ArtifactResolutionResult addVersionRangeViolation(Exception e)
OverConstrainedVersionException
as returned by
getVersionRangeViolation(int)
but it's not used like that in
DefaultLegacyArtifactCollectorpublic OverConstrainedVersionException getVersionRangeViolation(int i)
public boolean hasMetadataResolutionExceptions()
public ArtifactResolutionResult addMetadataResolutionException(ArtifactResolutionException e)
public ArtifactResolutionException getMetadataResolutionException(int i)
public List<ArtifactResolutionException> getMetadataResolutionExceptions()
public boolean hasErrorArtifactExceptions()
public ArtifactResolutionResult addErrorArtifactException(ArtifactResolutionException e)
public List<ArtifactResolutionException> getErrorArtifactExceptions()
public boolean hasCircularDependencyExceptions()
public ArtifactResolutionResult addCircularDependencyException(CyclicDependencyException e)
public CyclicDependencyException getCircularDependencyException(int i)
public List<CyclicDependencyException> getCircularDependencyExceptions()
public List<ArtifactRepository> getRepositories()
public ArtifactResolutionResult setRepositories(List<ArtifactRepository> repositories)
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.