public class MetadataResolutionResult extends Object
Constructor and Description |
---|
MetadataResolutionResult() |
public MetadataResolutionResult()
public Artifact getOriginatingArtifact()
public MetadataResolutionResult ListOriginatingArtifact(Artifact originatingArtifact)
public void addArtifact(Artifact artifact)
public Set<Artifact> getArtifacts()
public void addRequestedArtifact(Artifact artifact)
public Set<Artifact> getRequestedArtifacts()
public boolean hasMissingArtifacts()
public List<Artifact> getMissingArtifacts()
public MetadataResolutionResult addMissingArtifact(Artifact artifact)
public MetadataResolutionResult setUnresolvedArtifacts(List<Artifact> unresolvedArtifacts)
public boolean hasExceptions()
public List<Exception> getExceptions()
public boolean hasVersionRangeViolations()
public MetadataResolutionResult addVersionRangeViolation(Exception e)
public OverConstrainedVersionException getVersionRangeViolation(int i)
public List<Exception> getVersionRangeViolations()
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–2014 The Apache Software Foundation. All rights reserved.