public enum CoverageMetric extends Enum<CoverageMetric>
| Enum Constant and Description |
|---|
CONDITIONAL |
ELEMENT |
METHOD |
STATEMENT |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static CoverageMetric |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoverageMetric[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoverageMetric METHOD
public static final CoverageMetric CONDITIONAL
public static final CoverageMetric STATEMENT
public static final CoverageMetric ELEMENT
public static CoverageMetric[] values()
for (CoverageMetric c : CoverageMetric.values()) System.out.println(c);
public static CoverageMetric 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 String toString()
toString in class Enum<CoverageMetric>Copyright © 2004-2021. All Rights Reserved.