public static enum AlertRule.Type extends Enum<AlertRule.Type>
Enum Constant and Description |
---|
CronAlert |
QueryAlert |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static AlertRule.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlertRule.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlertRule.Type QueryAlert
public static final AlertRule.Type CronAlert
public static AlertRule.Type[] values()
for (AlertRule.Type c : AlertRule.Type.values()) System.out.println(c);
public static AlertRule.Type 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 toString()
toString
in class Enum<AlertRule.Type>