public enum RuleStatusLevel extends Enum<RuleStatusLevel>
| Modifier and Type | Class and Description |
|---|---|
static class |
RuleStatusLevel.Adapter |
| Modifier and Type | Method and Description |
|---|---|
static RuleStatusLevel |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static RuleStatusLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuleStatusLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuleStatusLevel UNKNOWN
public static final RuleStatusLevel OK
public static final RuleStatusLevel INFO
public static final RuleStatusLevel CRIT
public static final RuleStatusLevel WARN
public static final RuleStatusLevel ANY
public static RuleStatusLevel[] values()
for (RuleStatusLevel c : RuleStatusLevel.values()) System.out.println(c);
public static RuleStatusLevel 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 getValue()
public String toString()
toString in class Enum<RuleStatusLevel>public static RuleStatusLevel fromValue(String text)
Copyright © 2018–2021 InfluxData, Inc.. All rights reserved.