Enum Class OteStats.StatType

java.lang.Object
java.lang.Enum<OteStats.StatType>
google.registry.model.OteStats.StatType
All Implemented Interfaces:
Serializable, Comparable<OteStats.StatType>, Constable
Enclosing class:
OteStats

public static enum OteStats.StatType extends Enum<OteStats.StatType>
Enum defining the distinct statistics (types of registrar actions) to record.
  • Enum Constant Details

  • Field Details

    • REQUIRED_STAT_TYPES

      public static final com.google.common.collect.ImmutableList<OteStats.StatType> REQUIRED_STAT_TYPES
      StatTypes with a non-zero requirement
  • Method Details

    • values

      public static OteStats.StatType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OteStats.StatType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getRequirement

      public int getRequirement()
      Returns the number of times this StatType must be performed.
    • getDescription

      public String getDescription()
      Returns a more human-readable translation of the enum constant.