public enum Metric extends Enum<Metric>
| Enum Constant and Description |
|---|
BUGS |
CODE_SMELLS |
COVERAGE |
DUPLICATIONS |
MAINTAINABILITY_RATING |
RELIABILITY_RATING |
SECURITY_RATING |
VULNERABILITIES |
| Modifier and Type | Method and Description |
|---|---|
MetricReport |
evaluate(Integer value,
Integer target) |
static Metric |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Metric[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Metric RELIABILITY_RATING
public static final Metric BUGS
public static final Metric SECURITY_RATING
public static final Metric VULNERABILITIES
public static final Metric MAINTAINABILITY_RATING
public static final Metric CODE_SMELLS
public static final Metric COVERAGE
public static final Metric DUPLICATIONS
public static Metric[] values()
for (Metric c : Metric.values()) System.out.println(c);
public static Metric 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 MetricReport evaluate(Integer value, Integer target)
Copyright © 2022. All rights reserved.