- java.lang.Object
-
- com.seiama.event.EventConfigImpl
-
- All Implemented Interfaces:
EventConfig
public class EventConfigImpl extends Object implements EventConfig
Implementation of EventConfig.- Since:
- 1.0.0.1
-
-
Field Summary
-
Fields inherited from interface com.seiama.event.EventConfig
DEFAULT_ACCEPTS_CANCELLED, DEFAULT_EXACT, DEFAULT_ORDER
-
-
Constructor Summary
Constructors Constructor Description EventConfigImpl(int order, boolean acceptsCancelled, boolean exact)Constructs a newEventConfigImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanacceptsCancelled()Gets if cancelled events are accepted.booleanexact()Gets if only the exact event type is accepted.intorder()Gets the post order.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.seiama.event.EventConfig
acceptsCancelled, exact, order
-
-
-
-
Method Detail
-
order
public int order()
Description copied from interface:EventConfigGets the post order.- Specified by:
orderin interfaceEventConfig- Returns:
- the post order
-
acceptsCancelled
public boolean acceptsCancelled()
Description copied from interface:EventConfigGets if cancelled events are accepted.- Specified by:
acceptsCancelledin interfaceEventConfig- Returns:
- if cancelled events are accepted
-
exact
public boolean exact()
Description copied from interface:EventConfigGets if only the exact event type is accepted.- Specified by:
exactin interfaceEventConfig- Returns:
- if only the exact event type is accepted
-
-