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 Link icon

  • Field Details Link icon

    • REQUIRED_STAT_TYPES Link icon

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

    • values Link icon

      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 Link icon

      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 Link icon

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

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