org.apache.ivy.core.report
public class ResolveReport extends Object
Constructor Summary | |
---|---|
ResolveReport(ModuleDescriptor md) | |
ResolveReport(ModuleDescriptor md, String resolveId) |
Method Summary | |
---|---|
void | addReport(String conf, ConfigurationResolveReport report) |
void | checkIfChanged() |
ArtifactDownloadReport[] | getAllArtifactsReports()
Get every report on the download requests.
|
List | getAllProblemMessages() |
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.
|
ArtifactDownloadReport[] | getArtifactsReports(DownloadStatus downloadStatus, boolean withEvicted)
Get the report on the download requests. |
ArtifactDownloadReport[] | getArtifactsReports(ModuleRevisionId mrid) |
ConfigurationResolveReport | getConfigurationReport(String conf) |
String[] | getConfigurations() |
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 | getDownloadSize()
The total size of downloaded artifacts, in bytes.
|
long | getDownloadTime() |
IvyNode[] | getEvictedNodes() |
ArtifactDownloadReport[] | getFailedArtifactsReports()
Get every report on the download requests.
|
ModuleDescriptor | getModuleDescriptor() |
List | getModuleIds()
gives all the modules ids concerned by this report, from the most dependent to the least one
|
List | getProblemMessages() |
String | getResolveId() |
long | getResolveTime() |
IvyNode[] | getUnresolvedDependencies() |
boolean | hasChanged() Can only be called if checkIfChanged has been called |
boolean | hasError() |
void | output(ReportOutputter[] outputters, ResolutionCacheManager cacheMgr, ResolveOptions options) |
void | setDependencies(List dependencies, Filter artifactFilter) |
void | setDownloadSize(long size) |
void | setDownloadTime(long elapsedTime) |
void | setProblemMessages(List problems) |
void | setResolveTime(long elapsedTime) |
Returns: the list of reports, never null
Returns: The list of all artifacts.
Parameters: downloadStatus
the status of download to retreive. Set it to null
for no
restriction on the download status withEvicted
set it to true
if the report for the evicted modules have to be
retrieved, false
to exclude reports from modules evicted in all
configurations.
Returns: the list of reports, never null
See Also: ConfigurationResolveReport
Returns: The list of all dependencies.
This only includes artifacts actually downloaded to cache (DownloadStatus.SUCCESSFUL), and not artifacts already in cache or used at their original location.
Returns: The total size of downloaded artifacts, in bytes.
Returns: the list of reports, never null
Returns: a list of ModuleId