public enum AlertRuleUnit extends Enum<AlertRuleUnit>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AlertRuleUnit.Adapter |
| 枚举常量和说明 |
|---|
ALERTRULEUNIT_UNSUPPORTED_ENUM |
BIT |
BYTE |
BYTE_PER_SECOND |
CELSIUS |
HERTZ |
MICROSECOND |
NANOSECOND |
PERCENT |
SECOND |
UNIT_UNSPECIFIED |
| 限定符和类型 | 方法和说明 |
|---|---|
static AlertRuleUnit |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static AlertRuleUnit |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static AlertRuleUnit[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final AlertRuleUnit BIT
public static final AlertRuleUnit BYTE
public static final AlertRuleUnit BYTE_PER_SECOND
public static final AlertRuleUnit CELSIUS
public static final AlertRuleUnit HERTZ
public static final AlertRuleUnit MICROSECOND
public static final AlertRuleUnit NANOSECOND
public static final AlertRuleUnit PERCENT
public static final AlertRuleUnit SECOND
public static final AlertRuleUnit UNIT_UNSPECIFIED
public static final AlertRuleUnit ALERTRULEUNIT_UNSUPPORTED_ENUM
public static AlertRuleUnit[] values()
for (AlertRuleUnit c : AlertRuleUnit.values()) System.out.println(c);
public static AlertRuleUnit valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getValue()
public String toString()
toString 在类中 Enum<AlertRuleUnit>public static AlertRuleUnit fromValue(String value)
Copyright © 2025. All rights reserved.