public enum EventLifeCycle extends Enum<EventLifeCycle>
Enum Constant and Description |
---|
APPROVED
gets called when the EventsController approved the Event.
|
CANCELED
gets called when the EventsController canceled the Event.
|
ENDED
gets called while the FinishedEventListeners got notified.
|
LISTENERS
gets called while the EventListeners started getting notified.
|
OUTPUT
gets called while the OutputManager started the processing.
|
RESOURCE
gets called while the ResourceManager started generating the Resources.
|
START
gets called while the EventDistributor started the processing.
|
Modifier and Type | Method and Description |
---|---|
static EventLifeCycle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventLifeCycle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventLifeCycle START
public static final EventLifeCycle APPROVED
public static final EventLifeCycle CANCELED
public static final EventLifeCycle RESOURCE
public static final EventLifeCycle LISTENERS
public static final EventLifeCycle OUTPUT
public static final EventLifeCycle ENDED
public static EventLifeCycle[] values()
for (EventLifeCycle c : EventLifeCycle.values()) System.out.println(c);
public static EventLifeCycle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016. All rights reserved.