org.apache.maven.repository
Class MetadataResolutionResult

java.lang.Object
  extended by 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

Constructor Summary
MetadataResolutionResult()
           
 
Method Summary
 void addArtifact(Artifact artifact)
           
 MetadataResolutionResult addCircularDependencyException(CyclicDependencyException e)
           
 MetadataResolutionResult addError(Exception e)
           
 MetadataResolutionResult addMetadataResolutionException(ArtifactResolutionException e)
           
 MetadataResolutionResult addMissingArtifact(Artifact artifact)
           
 void addRequestedArtifact(Artifact artifact)
           
 MetadataResolutionResult addVersionRangeViolation(Exception e)
           
 Set<Artifact> getArtifacts()
           
 CyclicDependencyException getCircularDependencyException(int i)
           
 List<CyclicDependencyException> getCircularDependencyExceptions()
           
 List<ArtifactResolutionException> getErrorArtifactExceptions()
           
 List<Exception> getExceptions()
           
 ArtifactResolutionException getMetadataResolutionException(int i)
           
 List<ArtifactResolutionException> getMetadataResolutionExceptions()
           
 List<Artifact> getMissingArtifacts()
           
 Artifact getOriginatingArtifact()
           
 List<ArtifactRepository> getRepositories()
           
 Set<Artifact> getRequestedArtifacts()
           
 MetadataGraph getResolvedTree()
           
 OverConstrainedVersionException getVersionRangeViolation(int i)
           
 List<Exception> getVersionRangeViolations()
           
 boolean hasCircularDependencyExceptions()
           
 boolean hasErrorArtifactExceptions()
           
 boolean hasExceptions()
           
 boolean hasMetadataResolutionExceptions()
           
 boolean hasMissingArtifacts()
           
 boolean hasVersionRangeViolations()
           
 MetadataResolutionResult ListOriginatingArtifact(Artifact originatingArtifact)
           
 MetadataResolutionResult setRepositories(List<ArtifactRepository> repositories)
           
 void setResolvedTree(MetadataGraph resolvedTree)
           
 MetadataResolutionResult setUnresolvedArtifacts(List<Artifact> unresolvedArtifacts)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetadataResolutionResult

public MetadataResolutionResult()
Method Detail

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.