public class EndRetrieveEvent extends RetrieveEvent
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
NAME |
Constructor | Description |
---|---|
EndRetrieveEvent(ModuleRevisionId mrid,
java.lang.String[] confs,
long elapsedTime,
int targetsCopied,
int targetsUpToDate,
long totalCopiedSize,
RetrieveOptions options) |
Modifier and Type | Method | Description |
---|---|---|
long |
getDuration() |
Duration of the retrieve operation, in ms.
|
int |
getNbCopied() |
Number of artifacts which were copied (or symlinked) during the retrieve
|
int |
getNbUpToDate() |
Number of artifacts which were not copied since they were already present and up to date.
|
long |
getTotalCopiedSize() |
Total size of all copied (or symlinked) artifacts, in bytes.
|
addAttribute, addAttributes, addConfsAttribute, addMDAttributes, addModuleIdAttributes, addMridAttributes, equals, getAttributes, getName, getSource, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getModuleRevisionId, getOptions
public static final java.lang.String NAME
public EndRetrieveEvent(ModuleRevisionId mrid, java.lang.String[] confs, long elapsedTime, int targetsCopied, int targetsUpToDate, long totalCopiedSize, RetrieveOptions options)
public long getDuration()
public int getNbCopied()
public int getNbUpToDate()
public long getTotalCopiedSize()