Class EndRetrieveEvent
java.lang.Object
org.apache.ivy.core.event.IvyEvent
org.apache.ivy.core.event.retrieve.RetrieveEvent
org.apache.ivy.core.event.retrieve.EndRetrieveEvent
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate long
static final String
private int
private int
private long
-
Constructor Summary
ConstructorsConstructorDescriptionEndRetrieveEvent
(ModuleRevisionId mrid, String[] confs, long elapsedTime, int targetsCopied, int targetsUpToDate, long totalCopiedSize, RetrieveOptions options) -
Method Summary
Modifier and TypeMethodDescriptionlong
Duration of the retrieve operation, in ms.int
Number of artifacts which were copied (or symlinked) during the retrieveint
Number of artifacts which were not copied since they were already present and up to date.long
Total size of all copied (or symlinked) artifacts, in bytes.Methods inherited from class org.apache.ivy.core.event.retrieve.RetrieveEvent
getModuleRevisionId, getOptions
Methods inherited from class org.apache.ivy.core.event.IvyEvent
addAttribute, addAttributes, addConfsAttribute, addMDAttributes, addModuleIdAttributes, addMridAttributes, equals, getAttributes, getName, getSource, hashCode, toString
-
Field Details
-
NAME
- See Also:
-
duration
private long duration -
nbCopied
private int nbCopied -
nbUpToDate
private int nbUpToDate -
totalCopiedSize
private long totalCopiedSize
-
-
Constructor Details
-
EndRetrieveEvent
public EndRetrieveEvent(ModuleRevisionId mrid, String[] confs, long elapsedTime, int targetsCopied, int targetsUpToDate, long totalCopiedSize, RetrieveOptions options)
-
-
Method Details
-
getDuration
public long getDuration()Duration of the retrieve operation, in ms.- Returns:
- Duration of the retrieve operation, in ms.
-
getNbCopied
public int getNbCopied()Number of artifacts which were copied (or symlinked) during the retrieve- Returns:
- Number of artifacts which were copied during the retrieve.
-
getNbUpToDate
public int getNbUpToDate()Number of artifacts which were not copied since they were already present and up to date.- Returns:
- Number of artifacts which were not copied since they were already present and up to date.
-
getTotalCopiedSize
public long getTotalCopiedSize()Total size of all copied (or symlinked) artifacts, in bytes.- Returns:
- Total size of all copied (or symlinked) artifacts, in bytes.
-