public enum RunType extends java.lang.Enum<RunType> implements IntegerType
枚举常量和说明 |
---|
CLIENT_NOTIFICATION
客户端通知
|
CREATE_SNAP
快照生成
|
CUSTOM_CLASS
自定义类
|
FILE_PRINT
文件打印
|
MOUNT_DIR
平台挂载
|
PUSH_MESSAGE
消息推送
|
REPORTING_ACTION
定时填报
|
SEND_EMAIL
邮件发送
|
SEND_FILE
附件发送(默认)
|
SEND_FTP
FTP上传
|
SEND_SMS
短信发送
|
限定符和类型 | 方法和说明 |
---|---|
int |
getValue() |
static RunType |
parse(int value) |
void |
setValue(int value) |
int |
toInteger()
枚举值转为整数结果
|
static RunType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static RunType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final RunType CREATE_SNAP
public static final RunType SEND_EMAIL
public static final RunType SEND_FTP
public static final RunType PUSH_MESSAGE
public static final RunType FILE_PRINT
public static final RunType SEND_SMS
public static final RunType MOUNT_DIR
public static final RunType CUSTOM_CLASS
public static final RunType REPORTING_ACTION
public static final RunType CLIENT_NOTIFICATION
public static final RunType SEND_FILE
public static RunType[] values()
for (RunType c : RunType.values()) System.out.println(c);
public static RunType valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public int toInteger()
IntegerType
toInteger
在接口中 IntegerType
public static RunType parse(int value)
public int getValue()
public void setValue(int value)