public enum TriggerType extends Enum<TriggerType>
| Enum Constant and Description |
|---|
POST
Trigger should be executed after the associated operation(s).
|
PRE
Trigger should be executed before the associated operation(s).
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue()
Gets the numerical value of the trigger type.
|
String |
toString() |
static TriggerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TriggerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TriggerType PRE
public static final TriggerType POST
public static TriggerType[] values()
for (TriggerType c : TriggerType.values()) System.out.println(c);
public static TriggerType 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 nullpublic int getValue()
public String toString()
toString in class Enum<TriggerType>Copyright © 2019. All rights reserved.