org.apache.ivy.core.report
Class ResolveReport

java.lang.Object
  extended by org.apache.ivy.core.report.ResolveReport

public class ResolveReport
extends java.lang.Object

Represents a whole resolution report for a module


Constructor Summary
ResolveReport(ModuleDescriptor md)
           
ResolveReport(ModuleDescriptor md, java.lang.String resolveId)
           
 
Method Summary
 void addReport(java.lang.String conf, ConfigurationResolveReport report)
           
 java.util.List getAllProblemMessages()
           
 java.util.List getArtifacts()
          Returns the list of all artifacts which should be downloaded per this resolve To know if the artifact have actually been downloaded use information found in ConfigurationResolveReport.
 ConfigurationResolveReport getConfigurationReport(java.lang.String conf)
           
 java.lang.String[] getConfigurations()
           
 java.util.List getDependencies()
          Returns the list of all dependencies concerned by this report as a List of IvyNode ordered from the more dependent to the least one
 long getDownloadTime()
           
 IvyNode[] getEvictedNodes()
           
 ArtifactDownloadReport[] getFailedArtifactsReports()
           
 ModuleDescriptor getModuleDescriptor()
           
 java.util.List getModuleIds()
          gives all the modules ids concerned by this report, from the most dependent to the least one
 java.util.List getProblemMessages()
           
 java.lang.String getResolveId()
           
 long getResolveTime()
           
 IvyNode[] getUnresolvedDependencies()
           
 boolean hasChanged()
           
 boolean hasError()
           
 void output(ReportOutputter[] outputters, java.io.File cache)
           
 void setDependencies(java.util.List dependencies, Filter artifactFilter)
           
 void setDownloadTime(long elapsedTime)
           
 void setProblemMessages(java.util.List problems)
           
 void setResolveTime(long elapsedTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResolveReport

public ResolveReport(ModuleDescriptor md)

ResolveReport

public ResolveReport(ModuleDescriptor md,
                     java.lang.String resolveId)
Method Detail

addReport

public void addReport(java.lang.String conf,
                      ConfigurationResolveReport report)

getConfigurationReport

public ConfigurationResolveReport getConfigurationReport(java.lang.String conf)

getConfigurations

public java.lang.String[] getConfigurations()

hasError

public boolean hasError()

output

public void output(ReportOutputter[] outputters,
                   java.io.File cache)

getModuleDescriptor

public ModuleDescriptor getModuleDescriptor()

getEvictedNodes

public IvyNode[] getEvictedNodes()

getUnresolvedDependencies

public IvyNode[] getUnresolvedDependencies()

getFailedArtifactsReports

public ArtifactDownloadReport[] getFailedArtifactsReports()

hasChanged

public boolean hasChanged()

setProblemMessages

public void setProblemMessages(java.util.List problems)

getProblemMessages

public java.util.List getProblemMessages()

getAllProblemMessages

public java.util.List getAllProblemMessages()

setDependencies

public void setDependencies(java.util.List dependencies,
                            Filter artifactFilter)

getDependencies

public java.util.List getDependencies()
Returns the list of all dependencies concerned by this report as a List of IvyNode ordered from the more dependent to the least one

Returns:

getArtifacts

public java.util.List getArtifacts()
Returns the list of all artifacts which should be downloaded per this resolve To know if the artifact have actually been downloaded use information found in ConfigurationResolveReport.

Returns:

getModuleIds

public java.util.List getModuleIds()
gives all the modules ids concerned by this report, from the most dependent to the least one

Returns:
a list of ModuleId

setResolveTime

public void setResolveTime(long elapsedTime)

getResolveTime

public long getResolveTime()

setDownloadTime

public void setDownloadTime(long elapsedTime)

getDownloadTime

public long getDownloadTime()

getResolveId

public java.lang.String getResolveId()