public enum MetricLevel extends Enum<MetricLevel>
| Enum Constant and Description |
|---|
CRITICAL |
MAJOR |
MINOR |
NORMAL |
TRIVIAL |
| Modifier and Type | Method and Description |
|---|---|
static int |
getMaxValue() |
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 TRIVIAL
public static final MetricLevel MINOR
public static final MetricLevel NORMAL
public static final MetricLevel MAJOR
public static final MetricLevel CRITICAL
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 int getMaxValue()
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.