Enum Class PushAction
- 所有已实现的接口:
Serializable,Comparable<PushAction>,Constable
推送报文
MsgInfo/Msg 节点上的 action 属性,表示本条记录对目标系统的操作意图。
取值见 docs/WebServer/消息外层格式定义/业务推送格式.xml 的示例(action="insert"),
具体支持哪些动作由消费方系统实现决定。
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量 -
方法概要
修饰符和类型方法说明static PushAction按字面值解析,大小写不敏感。value()static PushActionReturns the enum constant of this class with the specified name.static PushAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
枚举常量详细资料
-
INSERT
新增。 -
UPDATE
更新。 -
DELETE
删除或作废。
-
-
方法详细资料
-
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- 如果参数为空值
-
value
- 返回:
- 写入
action属性的字面值
-
parse
按字面值解析,大小写不敏感。- 参数:
raw- 报文原文- 返回:
- 对应枚举
- 抛出:
IllegalArgumentException- 未知取值
-