public enum ReporterType extends Enum<ReporterType>
| 枚举常量和说明 |
|---|
IOTDB |
JMX |
PROMETHEUS |
public static final ReporterType JMX
public static final ReporterType PROMETHEUS
public static final ReporterType IOTDB
public static ReporterType[] values()
for (ReporterType c : ReporterType.values()) System.out.println(c);
public static ReporterType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String toString()
toString 在类中 Enum<ReporterType>Copyright © 2022 The Apache Software Foundation. All rights reserved.