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

public static enum Metric.MetricTendency extends Enum<Metric.MetricTendency>
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 Details

    • LARGER_IS_BETTER

      public static final Metric.MetricTendency LARGER_IS_BETTER
      Larger values will indicate better results.
    • SMALLER_IS_BETTER

      public static final Metric.MetricTendency SMALLER_IS_BETTER
      Smaller values will indicate better results.
  • Method Details

    • values

      public static Metric.MetricTendency[] 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

      public static Metric.MetricTendency valueOf(String name)
      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 name
      NullPointerException - if the argument is null