Package google.registry.model.domain.rgp
Enum Class GracePeriodStatus
- All Implemented Interfaces:
EnumToAttributeAdapter.EppEnum
,Serializable
,Comparable<GracePeriodStatus>
,Constable
public enum GracePeriodStatus
extends Enum<GracePeriodStatus>
implements EnumToAttributeAdapter.EppEnum
Represents a Registry Grace Period status, as defined by
RFC 3915.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThis grace period is provided after the initial registration of a domain name.This grace period is provided after a domain name registration period expires and is extended (renewed) automatically by the registry.This status value is used to describe a domain that has entered the purge processing state after completing the redemptionPeriod state.This status value is used to describe a domain that is in the process of being restored after being in the redemptionPeriod state.This status value is used to describe a domain for which a <delete> command has been received, but the domain has not yet been purged because an opportunity exists to restore the domain and abort the deletion process.This grace period is provided after a domain name registration period is explicitly extended (renewed) by the registrar.This grace period is provided after the successful transfer of domain name registration sponsorship from one registrar to another registrar. -
Method Summary
Modifier and TypeMethodDescriptionstatic GracePeriodStatus
fromXmlName
(String xmlName) Maps from xmlName toGracePeriodStatus
.static GracePeriodStatus
Returns the enum constant of this class with the specified name.static GracePeriodStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADD
This grace period is provided after the initial registration of a domain name. If the domain name is deleted by the registrar during this period, the registry provides a credit to the registrar for the cost of the registration. -
AUTO_RENEW
This grace period is provided after a domain name registration period expires and is extended (renewed) automatically by the registry. If the domain name is deleted by the registrar during this period, the registry provides a credit to the registrar for the cost of the renewal. -
REDEMPTION
This status value is used to describe a domain for which a <delete> command has been received, but the domain has not yet been purged because an opportunity exists to restore the domain and abort the deletion process. -
RENEW
This grace period is provided after a domain name registration period is explicitly extended (renewed) by the registrar. If the domain name is deleted by the registrar during this period, the registry provides a credit to the registrar for the cost of the renewal. -
PENDING_DELETE
This status value is used to describe a domain that has entered the purge processing state after completing the redemptionPeriod state. A domain in this status MUST also have the EPP pendingDelete status. -
PENDING_RESTORE
This status value is used to describe a domain that is in the process of being restored after being in the redemptionPeriod state. -
TRANSFER
This grace period is provided after the successful transfer of domain name registration sponsorship from one registrar to another registrar. If the domain name is deleted by the new sponsoring registrar during this period, the registry provides a credit to the registrar for the cost of the transfer.
-
-
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
-
getXmlName
- Specified by:
getXmlName
in interfaceEnumToAttributeAdapter.EppEnum
-
fromXmlName
Maps from xmlName toGracePeriodStatus
.If no match is found for xmlName, null is returned.
-