public enum EngineHookType extends Enum<EngineHookType>
Enum Constant and Description |
---|
afterDelete
在被删一个对象后执行操作
|
afterSave
在数据保存后触发指定操作
|
afterUpdate
在更新对象后执行特定的动作
|
beforeDelete
在删除一个对象之前做一些检查工作
|
beforeSave
在将对象保存到云端数据表之前,可以对数据做一些清理或验证
|
beforeUpdate
在更新对象之前做一些检查工作
|
onLogin
在用户登录之时执行指定操作
|
onVerifiedEmail
当用户通过邮箱验证时,对该用户执行特定操作
|
onVerifiedSMS
当用户通过短信验证时,对该用户执行特定操作
|
Modifier and Type | Method and Description |
---|---|
static EngineHookType |
parse(String string) |
String |
toString() |
static EngineHookType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EngineHookType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EngineHookType beforeSave
public static final EngineHookType afterSave
public static final EngineHookType beforeUpdate
public static final EngineHookType afterUpdate
public static final EngineHookType beforeDelete
public static final EngineHookType afterDelete
public static final EngineHookType onVerifiedSMS
public static final EngineHookType onVerifiedEmail
public static final EngineHookType onLogin
public static EngineHookType[] values()
for (EngineHookType c : EngineHookType.values()) System.out.println(c);
public static EngineHookType 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 String toString()
toString
in class Enum<EngineHookType>
public static EngineHookType parse(String string)
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.