public class InstallerDirectoryEvent extends InstallerEvent
InstallerContext
.
This event object contains additional information about the installed file.
The event type EventType.DIRECTORY_CREATED
produces this event object when fired.
Constructor and Description |
---|
InstallerDirectoryEvent(java.lang.Object source,
Context context,
EventType type,
boolean success,
java.io.File directory)
The constructor is called by the framework.
|
Modifier and Type | Method and Description |
---|---|
java.io.File |
getDirectory()
Get the created directory that is associated with this event.
|
java.lang.String |
getVerbose()
Return a verbose description of this event.
|
java.lang.String |
toString() |
getContext, getType, setContext, wasSuccessful
public InstallerDirectoryEvent(java.lang.Object source, Context context, EventType type, boolean success, java.io.File directory)
source
- the event sourcecontext
- the contexttype
- the event type.success
- whether the operation associated with the event was successfuldirectory
- the installed filepublic java.io.File getDirectory()
public java.lang.String toString()
toString
in class InstallerEvent
public java.lang.String getVerbose()
InstallerEvent
getVerbose
in class InstallerEvent