Package google.registry.model
Enum Class OteStats.StatType
- All Implemented Interfaces:
Serializable
,Comparable<OteStats.StatType>
,Constable
- Enclosing class:
OteStats
Enum defining the distinct statistics (types of registrar actions) to record.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Field Summary
Modifier and TypeFieldDescriptionstatic final com.google.common.collect.ImmutableList
<OteStats.StatType> StatTypes with a non-zero requirement -
Method Summary
Modifier and TypeMethodDescriptionReturns a more human-readable translation of the enum constant.int
Returns the number of times this StatType must be performed.static OteStats.StatType
Returns the enum constant of this class with the specified name.static OteStats.StatType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONTACT_CREATES
-
CONTACT_DELETES
-
CONTACT_TRANSFER_APPROVES
-
CONTACT_TRANSFER_CANCELS
-
CONTACT_TRANSFER_REJECTS
-
CONTACT_TRANSFER_REQUESTS
-
CONTACT_UPDATES
-
DOMAIN_AUTORENEWS
-
DOMAIN_CREATES
-
DOMAIN_CREATES_ASCII
-
DOMAIN_CREATES_IDN
-
DOMAIN_CREATES_START_DATE_SUNRISE
-
DOMAIN_CREATES_WITH_CLAIMS_NOTICE
-
DOMAIN_CREATES_WITH_FEE
-
DOMAIN_CREATES_WITH_SEC_DNS
-
DOMAIN_CREATES_WITHOUT_SEC_DNS
-
DOMAIN_DELETES
-
DOMAIN_RENEWS
-
DOMAIN_RESTORES
-
DOMAIN_TRANSFER_APPROVES
-
DOMAIN_TRANSFER_CANCELS
-
DOMAIN_TRANSFER_REJECTS
-
DOMAIN_TRANSFER_REQUESTS
-
DOMAIN_UPDATES
-
DOMAIN_UPDATES_WITH_SEC_DNS
-
DOMAIN_UPDATES_WITHOUT_SEC_DNS
-
HOST_CREATES
-
HOST_CREATES_EXTERNAL
-
HOST_CREATES_SUBORDINATE
-
HOST_DELETES
-
HOST_UPDATES
-
UNCLASSIFIED_FLOWS
-
-
Field Details
-
REQUIRED_STAT_TYPES
StatTypes with a non-zero requirement
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getRequirement
public int getRequirement()Returns the number of times this StatType must be performed. -
getDescription
Returns a more human-readable translation of the enum constant.
-