public static enum Metric.Version extends Enum<Metric.Version> implements MetricVersion
Enum Constant and Description |
---|
STANDARD
Standard option, used as a default.
|
Modifier and Type | Method and Description |
---|---|
static Metric.Version |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Metric.Version[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final Metric.Version STANDARD
public static Metric.Version[] values()
for (Metric.Version c : Metric.Version.values()) System.out.println(c);
public static Metric.Version 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 nullCopyright © 2002–2017 PMD. All rights reserved.