net.opentsdb.tree
public static enum TreeRule.TreeRuleType extends Enum<TreeRule.TreeRuleType>
Enum Constant and Description |
---|
METRIC |
METRIC_CUSTOM
A simple metric rule
|
TAGK
Matches on UID Meta custom field
|
TAGK_CUSTOM
Matches on a tagk name
|
TAGV_CUSTOM
Matches on a UID Meta custom field
|
Modifier and Type | Method and Description |
---|---|
static TreeRule.TreeRuleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TreeRule.TreeRuleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TreeRule.TreeRuleType METRIC
public static final TreeRule.TreeRuleType METRIC_CUSTOM
public static final TreeRule.TreeRuleType TAGK
public static final TreeRule.TreeRuleType TAGK_CUSTOM
public static final TreeRule.TreeRuleType TAGV_CUSTOM
public static TreeRule.TreeRuleType[] values()
for (TreeRule.TreeRuleType c : TreeRule.TreeRuleType.values()) System.out.println(c);
public static TreeRule.TreeRuleType 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 null