Class AbstractArtifactTimer

java.lang.Object
com.soebes.maven.extensions.artifact.AbstractArtifactTimer
Direct Known Subclasses:
DeployTimer, DownloadTimer, InstallTimer

public abstract class AbstractArtifactTimer extends Object
Author:
Karl Heinz Marbaise kama@soebes.de
  • Constructor Details

    • AbstractArtifactTimer

      protected AbstractArtifactTimer()
  • Method Details

    • getArtifactId

      protected String getArtifactId(org.eclipse.aether.artifact.Artifact artifact)
    • getTimerEvents

      protected Map<String,TimePlusSize> getTimerEvents()
    • start

      public void start(org.eclipse.aether.RepositoryEvent event)
    • stop

      public void stop(org.eclipse.aether.RepositoryEvent event)
    • calculateMegabytesPerSeconds

      protected double calculateMegabytesPerSeconds(long timeInMilliseconds, long sizeInBytes)