public class InstallerEvent
extends java.util.EventObject
InstallerContext
.Constructor and Description |
---|
InstallerEvent(java.lang.Object source,
Context context,
EventType type)
The constructor is called by the framework.
|
InstallerEvent(java.lang.Object source,
Context context,
EventType type,
boolean success)
The constructor is called by the framework.
|
Modifier and Type | Method and Description |
---|---|
Context |
getContext()
Get the context.
|
EventType |
getType()
Get the type of the event.
|
java.lang.String |
getVerbose()
Return a verbose description of this event.
|
void |
setContext(Context context) |
java.lang.String |
toString() |
boolean |
wasSuccessful()
Return whether the operation associated with the event was successful
|
public InstallerEvent(java.lang.Object source, Context context, EventType type, boolean success)
source
- the event sourcecontext
- the contexttype
- the event type.success
- whether the operation associated with the event was successfulpublic EventType getType()
public Context getContext()
public void setContext(Context context)
public boolean wasSuccessful()
true
or false
.public java.lang.String toString()
toString
in class java.util.EventObject
public java.lang.String getVerbose()