public class ArtifactResolutionResult extends Object
Constructor and Description |
---|
ArtifactResolutionResult() |
public ArtifactResolutionResult()
public Artifact getOriginatingArtifact()
public ArtifactResolutionResult setOriginatingArtifact(Artifact originatingArtifact)
public void addArtifact(Artifact artifact)
public Set<Artifact> getArtifacts()
public void setArtifacts(Set<Artifact> artifacts)
public Set<ResolutionNode> getArtifactResolutionNodes()
public void setArtifactResolutionNodes(Set<ResolutionNode> resolutionNodes)
public boolean hasMissingArtifacts()
public List<Artifact> getMissingArtifacts()
public ArtifactResolutionResult addMissingArtifact(Artifact artifact)
public ArtifactResolutionResult setUnresolvedArtifacts(List<Artifact> unresolvedArtifacts)
public boolean isSuccess()
public boolean hasExceptions()
public List<Exception> getExceptions()
public boolean hasVersionRangeViolations()
public ArtifactResolutionResult addVersionRangeViolation(Exception e)
public OverConstrainedVersionException getVersionRangeViolation(int i)
public List<Exception> getVersionRangeViolations()
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–2013 The Apache Software Foundation. All rights reserved.