public static enum SpoonLifecycleListener.SpoonLifeCycleEvent extends Enum<SpoonLifecycleListener.SpoonLifeCycleEvent>
Enum Constant and Description |
---|
MENUS_REFRESHED |
REPOSITORY_CHANGED |
REPOSITORY_CONNECTED |
REPOSITORY_DISCONNECTED |
SHUTDOWN |
STARTUP |
Modifier and Type | Method and Description |
---|---|
static SpoonLifecycleListener.SpoonLifeCycleEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpoonLifecycleListener.SpoonLifeCycleEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpoonLifecycleListener.SpoonLifeCycleEvent STARTUP
public static final SpoonLifecycleListener.SpoonLifeCycleEvent SHUTDOWN
public static final SpoonLifecycleListener.SpoonLifeCycleEvent REPOSITORY_CONNECTED
public static final SpoonLifecycleListener.SpoonLifeCycleEvent REPOSITORY_CHANGED
public static final SpoonLifecycleListener.SpoonLifeCycleEvent REPOSITORY_DISCONNECTED
public static final SpoonLifecycleListener.SpoonLifeCycleEvent MENUS_REFRESHED
public static SpoonLifecycleListener.SpoonLifeCycleEvent[] values()
for (SpoonLifecycleListener.SpoonLifeCycleEvent c : SpoonLifecycleListener.SpoonLifeCycleEvent.values()) System.out.println(c);
public static SpoonLifecycleListener.SpoonLifeCycleEvent 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 null