public class InstallerFileInstallationEvent extends InstallerEvent
InstallerContext
.
This event object contains additional information about the installed files.
The event type EventType.FILE_INSTALLATION_STARTED
produces this event object when fired.
Constructor and Description |
---|
InstallerFileInstallationEvent(java.lang.Object source,
Context context,
EventType type,
long totalSize,
long fileCount)
The constructor is called by the framework.
|
Modifier and Type | Method and Description |
---|---|
long |
getFileCount()
Returns the total file count
|
long |
getTotalSize()
Returns the total size of the installation in bytes
|
java.lang.String |
getVerbose()
Return a verbose description of this event.
|
java.lang.String |
toString() |
getContext, getType, setContext, wasSuccessful
public InstallerFileInstallationEvent(java.lang.Object source, Context context, EventType type, long totalSize, long fileCount)
source
- the event sourcecontext
- the contexttype
- the event type.totalSize
- the total size of the installation in bytesfileCount
- the total file countpublic long getTotalSize()
public long getFileCount()
public java.lang.String toString()
toString
in class InstallerEvent
public java.lang.String getVerbose()
InstallerEvent
getVerbose
in class InstallerEvent