public static class CommonEvents.Descriptors extends Object
Modifier and Type | Field and Description |
---|---|
static String |
NOT_INTERRUPT
Event-type which indicates that this event is important and should not get cancelled
|
static String |
STOP_DESCRIPTOR
Event-Type which indicates that this events stops an already running addon
|
Constructor and Description |
---|
Descriptors() |
Modifier and Type | Method and Description |
---|---|
static Optional<EventListener> |
stopListener(Identifiable identifiable)
Event-Type which indicates that this events stops an already running addon
|
public static final String STOP_DESCRIPTOR
public static final String NOT_INTERRUPT
public Descriptors()
public static Optional<EventListener> stopListener(Identifiable identifiable)
identifiable
- the identifiable ot associate the EventListener withCopyright © 2016. All rights reserved.