public enum EngineHookType extends Enum<EngineHookType>
| 枚举常量和说明 |
|---|
afterDelete
在被删一个对象后执行操作
|
afterSave
在数据保存后触发指定操作
|
afterUpdate
在更新对象后执行特定的动作
|
beforeDelete
在删除一个对象之前做一些检查工作
|
beforeSave
在将对象保存到云端数据表之前,可以对数据做一些清理或验证
|
beforeUpdate
在更新对象之前做一些检查工作
|
onLogin
在用户登录之时执行指定操作
|
onVerifiedEmail
当用户通过邮箱验证时,对该用户执行特定操作
|
onVerifiedSMS
当用户通过短信验证时,对该用户执行特定操作
|
| 限定符和类型 | 方法和说明 |
|---|---|
static EngineHookType |
parse(String string) |
String |
toString() |
static EngineHookType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static EngineHookType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String toString()
toString 在类中 Enum<EngineHookType>public static EngineHookType parse(String string)
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.