org.apache.maven.repository
Class MetadataResolutionResult
java.lang.Object
org.apache.maven.repository.MetadataResolutionResult
public class MetadataResolutionResult
- extends Object
- Version:
- $Id: MetadataResolutionResult.java 958295 2010-06-26 23:16:18Z hboutemy $
- Author:
- Oleg Gusakov
MetadataResolutionResult
public MetadataResolutionResult()
getOriginatingArtifact
public Artifact getOriginatingArtifact()
ListOriginatingArtifact
public MetadataResolutionResult ListOriginatingArtifact(Artifact originatingArtifact)
addArtifact
public void addArtifact(Artifact artifact)
getArtifacts
public Set<Artifact> getArtifacts()
addRequestedArtifact
public void addRequestedArtifact(Artifact artifact)
getRequestedArtifacts
public Set<Artifact> getRequestedArtifacts()
hasMissingArtifacts
public boolean hasMissingArtifacts()
getMissingArtifacts
public List<Artifact> getMissingArtifacts()
addMissingArtifact
public MetadataResolutionResult addMissingArtifact(Artifact artifact)
setUnresolvedArtifacts
public MetadataResolutionResult setUnresolvedArtifacts(List<Artifact> unresolvedArtifacts)
hasExceptions
public boolean hasExceptions()
getExceptions
public List<Exception> getExceptions()
hasVersionRangeViolations
public boolean hasVersionRangeViolations()
addVersionRangeViolation
public MetadataResolutionResult addVersionRangeViolation(Exception e)
getVersionRangeViolation
public OverConstrainedVersionException getVersionRangeViolation(int i)
getVersionRangeViolations
public List<Exception> getVersionRangeViolations()
hasMetadataResolutionExceptions
public boolean hasMetadataResolutionExceptions()
addMetadataResolutionException
public MetadataResolutionResult addMetadataResolutionException(ArtifactResolutionException e)
getMetadataResolutionException
public ArtifactResolutionException getMetadataResolutionException(int i)
getMetadataResolutionExceptions
public List<ArtifactResolutionException> getMetadataResolutionExceptions()
hasErrorArtifactExceptions
public boolean hasErrorArtifactExceptions()
addError
public MetadataResolutionResult addError(Exception e)
getErrorArtifactExceptions
public List<ArtifactResolutionException> getErrorArtifactExceptions()
hasCircularDependencyExceptions
public boolean hasCircularDependencyExceptions()
addCircularDependencyException
public MetadataResolutionResult addCircularDependencyException(CyclicDependencyException e)
getCircularDependencyException
public CyclicDependencyException getCircularDependencyException(int i)
getCircularDependencyExceptions
public List<CyclicDependencyException> getCircularDependencyExceptions()
getRepositories
public List<ArtifactRepository> getRepositories()
setRepositories
public MetadataResolutionResult setRepositories(List<ArtifactRepository> repositories)
toString
public String toString()
- Overrides:
toString
in class Object
getResolvedTree
public MetadataGraph getResolvedTree()
setResolvedTree
public void setResolvedTree(MetadataGraph resolvedTree)
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.