Class ArtifactRepositoryManagerConnectorEvent
java.lang.Object
java.util.EventObject
zleurtor.scanmanager.model.events.ArtifactRepositoryManagerConnectorEvent
- All Implemented Interfaces:
Serializable
The class of events fired by the artifact repository manager connector.
- Author:
- Zleurtor
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionArtifactRepositoryManagerConnectorEvent
(Object source, int theArtifactSize, int theDownloadedSize) Constructs a new artifact repository manager connector event using the specified source, artifact size and downloaded size. -
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
-
ArtifactRepositoryManagerConnectorEvent
public ArtifactRepositoryManagerConnectorEvent(Object source, int theArtifactSize, int theDownloadedSize) Constructs a new artifact repository manager connector event using the specified source, artifact size and downloaded size.- Parameters:
source
- The object which fired this event.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.
-