Package google.registry.model.tld
Enum Class Tld.TldState
- All Implemented Interfaces:
Serializable
,Comparable<Tld.TldState>
,Constable
- Enclosing class:
Tld
The states a TLD can be in at any given point in time. The ordering below is the required
sequence of states (ignoring
PDT
which is a pseudo-state).-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe steady state of a TLD in which all domain names are available via first-come, first-serve.A "fake" state for use in predelegation testing.The state of not yet being delegated to this TLD in the root zone by IANA.A state in which no domain operations are permitted.The state in which only trademark holders can submit a "create" request. -
Method Summary
Modifier and TypeMethodDescriptionstatic Tld.TldState
Returns the enum constant of this class with the specified name.static Tld.TldState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PREDELEGATION
The state of not yet being delegated to this TLD in the root zone by IANA. -
START_DATE_SUNRISE
The state in which only trademark holders can submit a "create" request. It is identical toGENERAL_AVAILABILITY
in all other respects. -
QUIET_PERIOD
A state in which no domain operations are permitted. Generally used between sunrise and general availability. This state is special in that it has no ordering constraints and can appear after any phase. -
GENERAL_AVAILABILITY
The steady state of a TLD in which all domain names are available via first-come, first-serve. -
PDT
A "fake" state for use in predelegation testing. Acts likeGENERAL_AVAILABILITY
.
-
-
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
-