Package org.apache.ivy.core.retrieve
Class RetrieveReport
java.lang.Object
org.apache.ivy.core.retrieve.RetrieveReport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCopiedFile
(File file, ArtifactDownloadReport report) void
addUpToDateFile
(File file, ArtifactDownloadReport report) Returns a collection of File objects who were actually copied during the retrieve process.Get the mapping between the copied files and their corresponding download reportint
int
Returns a collection of File objects who were retrieved during the retrieve process.Returns the root directory to where the artifacts are retrieved.Returns a collection of File objects who were actually copied during the retrieve process.void
setRetrieveRoot
(File retrieveRoot)
-
Constructor Details
-
RetrieveReport
public RetrieveReport()
-
-
Method Details
-
getRetrieveRoot
Returns the root directory to where the artifacts are retrieved.- Returns:
- File
-
setRetrieveRoot
-
getNbrArtifactsCopied
public int getNbrArtifactsCopied() -
getNbrArtifactsUpToDate
public int getNbrArtifactsUpToDate() -
addCopiedFile
-
addUpToDateFile
-
getCopiedFiles
Returns a collection of File objects who were actually copied during the retrieve process.- Returns:
- Collection<File>
-
getUpToDateFiles
Returns a collection of File objects who were actually copied during the retrieve process.- Returns:
- Collection<File>
-
getRetrievedFiles
Returns a collection of File objects who were retrieved during the retrieve process. This is the union of the files being copied and the files that were up-to-date.- Returns:
- Collection<File>
-
getDownloadReport
Get the mapping between the copied files and their corresponding download report- Returns:
- Map<File,ArtifactDownloadReport>
-