Package org.pentaho.di.ui.spoon
Enum SpoonLifecycleListener.SpoonLifeCycleEvent
- java.lang.Object
-
- java.lang.Enum<SpoonLifecycleListener.SpoonLifeCycleEvent>
-
- org.pentaho.di.ui.spoon.SpoonLifecycleListener.SpoonLifeCycleEvent
-
- All Implemented Interfaces:
Serializable
,Comparable<SpoonLifecycleListener.SpoonLifeCycleEvent>
- Enclosing interface:
- SpoonLifecycleListener
public static enum SpoonLifecycleListener.SpoonLifeCycleEvent extends Enum<SpoonLifecycleListener.SpoonLifeCycleEvent>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MENUS_REFRESHED
REPOSITORY_CHANGED
REPOSITORY_CONNECTED
REPOSITORY_DISCONNECTED
SHUTDOWN
STARTUP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
STARTUP
public static final SpoonLifecycleListener.SpoonLifeCycleEvent STARTUP
-
SHUTDOWN
public static final SpoonLifecycleListener.SpoonLifeCycleEvent SHUTDOWN
-
REPOSITORY_CONNECTED
public static final SpoonLifecycleListener.SpoonLifeCycleEvent REPOSITORY_CONNECTED
-
REPOSITORY_CHANGED
public static final SpoonLifecycleListener.SpoonLifeCycleEvent REPOSITORY_CHANGED
-
REPOSITORY_DISCONNECTED
public static final SpoonLifecycleListener.SpoonLifeCycleEvent REPOSITORY_DISCONNECTED
-
MENUS_REFRESHED
public static final SpoonLifecycleListener.SpoonLifeCycleEvent MENUS_REFRESHED
-
-
Method Detail
-
values
public static SpoonLifecycleListener.SpoonLifeCycleEvent[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SpoonLifecycleListener.SpoonLifeCycleEvent c : SpoonLifecycleListener.SpoonLifeCycleEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpoonLifecycleListener.SpoonLifeCycleEvent valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-