org.pentaho.di.ui.spoon
Enum SpoonLifecycleListener.SpoonLifeCycleEvent

java.lang.Object
  extended by java.lang.Enum<SpoonLifecycleListener.SpoonLifeCycleEvent>
      extended by 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
MENUS_REFRESHED
           
REPOSITORY_CHANGED
           
REPOSITORY_CONNECTED
           
REPOSITORY_DISCONNECTED
           
SHUTDOWN
           
STARTUP
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null