public static enum TriggerDispatcher.Type extends Enum<TriggerDispatcher.Type>
| Enum Constant and Description |
|---|
AFTER_DELETE |
AFTER_INSERT |
AFTER_UPDATE |
BEFORE_DELETE |
BEFORE_INSERT |
BEFORE_UPDATE |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatchAll(List<TriggerListener> list,
TriggerEvent evt) |
static TriggerDispatcher.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TriggerDispatcher.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TriggerDispatcher.Type BEFORE_INSERT
public static final TriggerDispatcher.Type AFTER_INSERT
public static final TriggerDispatcher.Type BEFORE_UPDATE
public static final TriggerDispatcher.Type AFTER_UPDATE
public static final TriggerDispatcher.Type BEFORE_DELETE
public static final TriggerDispatcher.Type AFTER_DELETE
public static TriggerDispatcher.Type[] values()
for (TriggerDispatcher.Type c : TriggerDispatcher.Type.values()) System.out.println(c);
public static TriggerDispatcher.Type 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 void dispatchAll(List<TriggerListener> list, TriggerEvent evt)
Copyright © 2016. All Rights Reserved.