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