public class Event
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.Object |
data
Data associated with the event, the type of data depends on the creating module.
|
java.lang.String |
fileName
The filename that allows the controller to add new files to the specific profile.
|
boolean |
record
flag to mark an event for recording in the event list.
|
AbstractDaemonModule |
reporter
The module that reported the event.
|
java.lang.String |
reporterName
The name of the reporting module
|
long |
timestamp
Date of the event occurrence
|
java.lang.String |
type
The type of event.
|
Constructor and Description |
---|
Event()
Deprecated.
|
Event(java.lang.Object data,
boolean record,
AbstractDaemonModule reporter,
java.lang.String fileName)
Create a new event, initialising the fields.
|
Event(java.lang.Object data,
boolean record,
java.lang.String reporterName,
java.lang.String fileName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns String representation of this class
|
public long timestamp
public java.lang.Object data
public boolean record
public AbstractDaemonModule reporter
public java.lang.String reporterName
public java.lang.String type
public java.lang.String fileName
@Deprecated public Event()
public Event(java.lang.Object data, boolean record, AbstractDaemonModule reporter, java.lang.String fileName)
data
- record
- reporter
- fileName
- public Event(java.lang.Object data, boolean record, java.lang.String reporterName, java.lang.String fileName)