public static enum AlertRuleAction.ActionType extends Enum<AlertRuleAction.ActionType>
Enum Constant and Description |
---|
EXECUTE_JAVA |
EXECUTE_OS_COMMAND |
ISSUE_DELETE_QUERY |
PUBLISH_ALERT |
SEND_EMAIL |
SEND_TUPLE |
Modifier and Type | Method and Description |
---|---|
String |
getReadable() |
static AlertRuleAction.ActionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlertRuleAction.ActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlertRuleAction.ActionType SEND_EMAIL
public static final AlertRuleAction.ActionType EXECUTE_JAVA
public static final AlertRuleAction.ActionType EXECUTE_OS_COMMAND
public static final AlertRuleAction.ActionType PUBLISH_ALERT
public static final AlertRuleAction.ActionType SEND_TUPLE
public static final AlertRuleAction.ActionType ISSUE_DELETE_QUERY
public static AlertRuleAction.ActionType[] values()
for (AlertRuleAction.ActionType c : AlertRuleAction.ActionType.values()) System.out.println(c);
public static AlertRuleAction.ActionType 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 getReadable()