public static enum Callbacks.Callback extends Enum<Callbacks.Callback>
Enum Constant and Description |
---|
after_create |
after_destroy |
after_save |
after_update |
after_validation |
before_create |
before_destroy |
before_save |
before_update |
before_validation |
Modifier and Type | Method and Description |
---|---|
static Callbacks.Callback |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Callbacks.Callback[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Callbacks.Callback before_create
public static final Callbacks.Callback after_create
public static final Callbacks.Callback before_destroy
public static final Callbacks.Callback after_destroy
public static final Callbacks.Callback before_save
public static final Callbacks.Callback after_save
public static final Callbacks.Callback before_update
public static final Callbacks.Callback after_update
public static final Callbacks.Callback before_validation
public static final Callbacks.Callback after_validation
public static Callbacks.Callback[] values()
for (Callbacks.Callback c : Callbacks.Callback.values()) System.out.println(c);
public static Callbacks.Callback 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 nullCopyright © 2018. All Rights Reserved.