T
- The type of event.public final class IgnoreConsumedEvent<T> extends java.lang.Object implements ConsumableEvent<T>
ConsumableEvent
which ignores eventConsumed()
.Constructor and Description |
---|
IgnoreConsumedEvent(T event)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
T |
event()
Get the event.
|
void |
eventConsumed()
Signify the
ConsumableEvent.event() has been consumed and any side effects have taken place. |
public T event()
ConsumableEvent
event
in interface ConsumableEvent<T>
public void eventConsumed()
ConsumableEvent
ConsumableEvent.event()
has been consumed and any side effects have taken place.eventConsumed
in interface ConsumableEvent<T>