public enum OperationMetricKey extends Enum<OperationMetricKey> implements MetricKey<OperationMetric>
Enum Constant and Description |
---|
ATFD
Access to Foreign Data.
|
CYCLO
Cyclomatic complexity.
|
LOC
Lines of Code.
|
NCSS
Non Commenting Source Statements.
|
Modifier and Type | Method and Description |
---|---|
OperationMetric |
getCalculator()
Returns the object used to calculate the metric.
|
static OperationMetricKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationMetricKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationMetricKey ATFD
public static final OperationMetricKey CYCLO
public static final OperationMetricKey NCSS
public static final OperationMetricKey LOC
public static OperationMetricKey[] values()
for (OperationMetricKey c : OperationMetricKey.values()) System.out.println(c);
public static OperationMetricKey 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 OperationMetric getCalculator()
MetricKey
getCalculator
in interface MetricKey<OperationMetric>
Copyright © 2002–2017 PMD. All rights reserved.