Package google.registry.model.registrar
Enum Class RegistrarBase.State
- All Implemented Interfaces:
Serializable
,Comparable<RegistrarBase.State>
,Constable
- Enclosing class:
RegistrarBase
Represents the state of a persisted registrar entity.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThis is an active registrar account which is allowed to provision and modify domains.This registrar is completely disabled and cannot perform any EPP actions whatsoever, nor log in to the registrar console.This registrar is provisioned but not yet active, and cannot log in.This is a suspended account which is disallowed from provisioning new domains, but can otherwise still perform other operations to continue operations. -
Method Summary
Modifier and TypeMethodDescriptionstatic RegistrarBase.State
Returns the enum constant of this class with the specified name.static RegistrarBase.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PENDING
This registrar is provisioned but not yet active, and cannot log in. -
ACTIVE
This is an active registrar account which is allowed to provision and modify domains. -
SUSPENDED
This is a suspended account which is disallowed from provisioning new domains, but can otherwise still perform other operations to continue operations. -
DISABLED
This registrar is completely disabled and cannot perform any EPP actions whatsoever, nor log in to the registrar console.
-
-
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
-