Class MasterUpdaterEvent
java.lang.Object
java.util.EventObject
zleurtor.scanmanager.model.events.MasterUpdaterEvent
- All Implemented Interfaces:
Serializable
The class representing a master updater event.
- Author:
- Zleurtor
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionMasterUpdaterEvent
(Object source) Creates a master updater event having the specified source.MasterUpdaterEvent
(Object source, int theArtifactSize, int theDownloadedSize) Creates a master updater event having the specified source. -
Method Summary
Modifier and TypeMethodDescriptionfinal int
Returns the currently downloading artifact size.final int
Returns the artifact downloaded quantity.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
MasterUpdaterEvent
Creates a master updater event having the specified source.- Parameters:
source
- The source of the event which shall be created.
-
MasterUpdaterEvent
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.
-