com.cloudera.cdk.morphline.base
Enum Notifications.LifecycleEvent

java.lang.Object
  extended by java.lang.Enum<Notifications.LifecycleEvent>
      extended by com.cloudera.cdk.morphline.base.Notifications.LifecycleEvent
All Implemented Interfaces:
Serializable, Comparable<Notifications.LifecycleEvent>
Enclosing class:
Notifications

public static enum Notifications.LifecycleEvent
extends Enum<Notifications.LifecycleEvent>


Enum Constant Summary
BEGIN_TRANSACTION
           
COMMIT_TRANSACTION
           
ROLLBACK_TRANSACTION
           
SHUTDOWN
           
START_SESSION
           
 
Method Summary
static Notifications.LifecycleEvent valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Notifications.LifecycleEvent[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BEGIN_TRANSACTION

public static final Notifications.LifecycleEvent BEGIN_TRANSACTION

COMMIT_TRANSACTION

public static final Notifications.LifecycleEvent COMMIT_TRANSACTION

ROLLBACK_TRANSACTION

public static final Notifications.LifecycleEvent ROLLBACK_TRANSACTION

SHUTDOWN

public static final Notifications.LifecycleEvent SHUTDOWN

START_SESSION

public static final Notifications.LifecycleEvent START_SESSION
Method Detail

values

public static Notifications.LifecycleEvent[] 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 (Notifications.LifecycleEvent c : Notifications.LifecycleEvent.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Notifications.LifecycleEvent 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


Copyright © 2013 Cloudera. All rights reserved.