com.cloudera.cdk.morphline.base
Enum Notifications.LifecycleEvent
java.lang.Object
java.lang.Enum<Notifications.LifecycleEvent>
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>
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
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.