public class MetadataResolutionResult extends Object
Constructor and Description |
---|
MetadataResolutionResult() |
public Artifact getOriginatingArtifact()
public MetadataResolutionResult listOriginatingArtifact(Artifact originatingArtifact)
public void addArtifact(Artifact artifact)
public void addRequestedArtifact(Artifact artifact)
public boolean hasMissingArtifacts()
public MetadataResolutionResult addMissingArtifact(Artifact artifact)
public MetadataResolutionResult setUnresolvedArtifacts(List<Artifact> unresolvedArtifacts)
public boolean hasExceptions()
public boolean hasVersionRangeViolations()
public MetadataResolutionResult addVersionRangeViolation(Exception e)
OverConstrainedVersionException
as returned by
getVersionRangeViolation(int)
but it's not used like that in
DefaultLegacyArtifactCollector
public OverConstrainedVersionException getVersionRangeViolation(int i)
public boolean hasMetadataResolutionExceptions()
public MetadataResolutionResult addMetadataResolutionException(ArtifactResolutionException e)
public ArtifactResolutionException getMetadataResolutionException(int i)
public List<ArtifactResolutionException> getMetadataResolutionExceptions()
public boolean hasErrorArtifactExceptions()
public MetadataResolutionResult addError(Exception e)
public List<ArtifactResolutionException> getErrorArtifactExceptions()
public boolean hasCircularDependencyExceptions()
public MetadataResolutionResult addCircularDependencyException(CyclicDependencyException e)
public CyclicDependencyException getCircularDependencyException(int i)
public List<CyclicDependencyException> getCircularDependencyExceptions()
public List<ArtifactRepository> getRepositories()
public MetadataResolutionResult setRepositories(List<ArtifactRepository> repositories)
public MetadataGraph getResolvedTree()
public void setResolvedTree(MetadataGraph resolvedTree)
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.