public enum MetricLevel extends Enum<MetricLevel>
| Modifier and Type | Method and Description |
|---|---|
static boolean |
higherOrEqual(MetricLevel level1,
MetricLevel level2) |
String |
toString() |
static MetricLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricLevel ALL
public static final MetricLevel NORMAL
public static final MetricLevel IMPORTANT
public static final MetricLevel CORE
public static MetricLevel[] values()
for (MetricLevel c : MetricLevel.values()) System.out.println(c);
public static MetricLevel 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 static boolean higherOrEqual(MetricLevel level1, MetricLevel level2)
public String toString()
toString in class Enum<MetricLevel>Copyright © 2022 The Apache Software Foundation. All rights reserved.