Package com.barden.library.event
Class Event
java.lang.Object
com.barden.library.event.Event
- Direct Known Subclasses:
EventCancellable,RedisMessageEvent
Event class.
-
Field Details
-
name
-
-
Constructor Details
-
Event
public Event()Creates event object. -
Event
public Event(boolean async) Creates event object. If event is asynchronous, common event methods will not synchronize with each other.- Parameters:
async- Async or not.
-
-
Method Details
-
getName
Gets name.- Returns:
- Event name.
-
isAsynchronous
public final boolean isAsynchronous()Gets if event is asynchronous or not.- Returns:
- If event is asynchronous or not.
-