Enum Metric.MetricTendency
java.lang.Object
java.lang.Enum<Metric.MetricTendency>
com.parasoft.findings.jenkins.coverage.model.Metric.MetricTendency
- All Implemented Interfaces:
Serializable
,Comparable<Metric.MetricTendency>
- Enclosing class:
- Metric
Metric tendency: some metrics are getting better when the value is getting larger, some other metrics are getting
better when the value is getting smaller.
-
Enum Constant Summary
Enum ConstantDescriptionLarger values will indicate better results.Smaller values will indicate better results. -
Method Summary
Modifier and TypeMethodDescriptionstatic Metric.MetricTendency
Returns the enum constant of this type with the specified name.static Metric.MetricTendency[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LARGER_IS_BETTER
Larger values will indicate better results. -
SMALLER_IS_BETTER
Smaller values will indicate better results.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-