Enum ClaimStatistic.Counter

java.lang.Object
java.lang.Enum<ClaimStatistic.Counter>
org.apache.rat.report.claim.ClaimStatistic.Counter
All Implemented Interfaces:
Serializable, Comparable<ClaimStatistic.Counter>
Enclosing class:
ClaimStatistic

public static enum ClaimStatistic.Counter extends Enum<ClaimStatistic.Counter>
The counter types
  • Enum Constant Details

  • Method Details

    • values

      public static ClaimStatistic.Counter[] 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 ClaimStatistic.Counter 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
    • getDescription

      public String getDescription()
      Gets the description of the counter.
      Returns:
      The description of the counter.
    • getDefaultMaxValue

      public int getDefaultMaxValue()
      Gets the default maximum value for the counter.
      Returns:
      the default maximum value for the counter.
    • getDefaultMinValue

      public int getDefaultMinValue()
      Gets the default minimum value for the counter.
      Returns:
      the default maximum value for the counter.
    • displayName

      public String displayName()
      Display name is capitalized and any underscores are replaced by spaces.
      Returns:
      displayName of the counter, capitalized and without underscores.