com.azalient.api.event.model
Interface GenericEvent


public interface GenericEvent

The generic event is used as a catch-all for events not covered by other types. The enumeration GenericEventType is a list of the possible sub-types of this event. It is easier to create a new element in GenericEventType than it is to create a new Event class.


Method Summary
 Object data()
          The associated data for this event.
 GenericEventType type()
          The sub-type of this event
 

Method Detail

type

GenericEventType type()
The sub-type of this event


data

Object data()
The associated data for this event. Data type is context-specific.