Class MasterUpdaterEvent

java.lang.Object
java.util.EventObject
zleurtor.scanmanager.model.events.MasterUpdaterEvent
All Implemented Interfaces:
Serializable

public class MasterUpdaterEvent extends EventObject
The class representing a master updater event.
Author:
Zleurtor
See Also:
  • Constructor Details

    • MasterUpdaterEvent

      public MasterUpdaterEvent(Object source)
      Creates a master updater event having the specified source.
      Parameters:
      source - The source of the event which shall be created.
    • MasterUpdaterEvent

      public MasterUpdaterEvent(Object source, int theArtifactSize, int theDownloadedSize)
      Creates a master updater event having the specified source.
      Parameters:
      source - The source of the event which shall be created.
      theArtifactSize - The currently downloading artifact size.
      theDownloadedSize - The artifact downloaded quantity.
  • Method Details

    • getArtifactSize

      public final int getArtifactSize()
      Returns the currently downloading artifact size.
      Returns:
      The currently downloading artifact size.
    • getDownloadedSize

      public final int getDownloadedSize()
      Returns the artifact downloaded quantity.
      Returns:
      The artifact downloaded quantity.