Class ArtifactRepositoryManagerConnectorEvent

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

public class ArtifactRepositoryManagerConnectorEvent extends EventObject
The class of events fired by the artifact repository manager connector.
Author:
Zleurtor
See Also:
  • 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.