-
- All Known Implementing Classes:
EventConfigImpl
public interface EventConfigEvent configuration.- Since:
- 1.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static booleanDEFAULT_ACCEPTS_CANCELLEDThe default value foracceptsCancelled().static booleanDEFAULT_EXACTThe default value forexact().static intDEFAULT_ORDERThe default value fororder().
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default booleanacceptsCancelled()Gets if cancelled events are accepted.default @NotNull EventConfigacceptsCancelled(boolean acceptsCancelled)Sets if cancelled events are accepted.static @NotNull EventConfigdefaults()Gets the default configuration.default booleanexact()Gets if only the exact event type is accepted.default @NotNull EventConfigexact(boolean exact)Sets if only the exact event type is accepted.default intorder()Gets the post order.default @NotNull EventConfigorder(int order)Sets the post order.
-
-
-
Field Detail
-
DEFAULT_ORDER
static final int DEFAULT_ORDER
The default value fororder().- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
DEFAULT_ACCEPTS_CANCELLED
static final boolean DEFAULT_ACCEPTS_CANCELLED
The default value foracceptsCancelled().- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
DEFAULT_EXACT
static final boolean DEFAULT_EXACT
The default value forexact().- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
-
Method Detail
-
defaults
@NotNull static @NotNull EventConfig defaults()
Gets the default configuration.- Returns:
- the default configuration
- Since:
- 1.0.0
-
order
default int order()
Gets the post order.- Returns:
- the post order
- Since:
- 1.0.0
-
order
@NotNull default @NotNull EventConfig order(int order)
Sets the post order.- Parameters:
order- the post order- Returns:
- an
EventConfig - Since:
- 1.0.0
-
acceptsCancelled
default boolean acceptsCancelled()
Gets if cancelled events are accepted.- Returns:
- if cancelled events are accepted
- Since:
- 1.0.0
-
acceptsCancelled
@NotNull default @NotNull EventConfig acceptsCancelled(boolean acceptsCancelled)
Sets if cancelled events are accepted.- Parameters:
acceptsCancelled- if cancelled events are accepted- Returns:
- an
EventConfig - Since:
- 1.0.0
-
exact
default boolean exact()
Gets if only the exact event type is accepted.- Returns:
- if only the exact event type is accepted
- Since:
- 1.0.0
-
exact
@NotNull default @NotNull EventConfig exact(boolean exact)
Sets if only the exact event type is accepted.- Parameters:
exact- if only the exact event type is accepted- Returns:
- an
EventConfig - Since:
- 1.0.0
-
-