程序包 cn.leancloud
Enum Class EngineHookType
- 所有已实现的接口:
Serializable,Comparable<EngineHookType>,java.lang.constant.Constable
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量枚举常量说明在被删一个对象后执行操作在数据保存后触发指定操作在更新对象后执行特定的动作在删除一个对象之前做一些检查工作在将对象保存到云端数据表之前,可以对数据做一些清理或验证在更新对象之前做一些检查工作在用户登录之时执行指定操作当用户通过邮箱验证时,对该用户执行特定操作当用户通过短信验证时,对该用户执行特定操作 -
方法概要
修饰符和类型方法说明static EngineHookTypetoString()static EngineHookTypeReturns the enum constant of this class with the specified name.static EngineHookType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
枚举常量详细资料
-
beforeSave
在将对象保存到云端数据表之前,可以对数据做一些清理或验证 -
afterSave
在数据保存后触发指定操作 -
beforeUpdate
在更新对象之前做一些检查工作 -
afterUpdate
在更新对象后执行特定的动作 -
beforeDelete
在删除一个对象之前做一些检查工作 -
afterDelete
在被删一个对象后执行操作 -
onVerifiedSMS
当用户通过短信验证时,对该用户执行特定操作 -
onVerifiedEmail
当用户通过邮箱验证时,对该用户执行特定操作 -
onLogin
在用户登录之时执行指定操作
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-
toString
- 覆盖:
toString在类中Enum<EngineHookType>
-
parse
-