Enum Class GracePeriodStatus

java.lang.Object
java.lang.Enum<GracePeriodStatus>
google.registry.model.domain.rgp.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 Constants
    Enum Constant
    Description
    This 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 Type
    Method
    Description
    Maps from xmlName to GracePeriodStatus.
     
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • ADD

      public static final GracePeriodStatus 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

      public static final GracePeriodStatus 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

      public static final GracePeriodStatus 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

      public static final GracePeriodStatus 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

      public static final GracePeriodStatus 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

      public static final GracePeriodStatus 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

      public static final GracePeriodStatus 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

      public static GracePeriodStatus[] 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

      public static GracePeriodStatus 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
    • getXmlName

      public String getXmlName()
      Specified by:
      getXmlName in interface EnumToAttributeAdapter.EppEnum
    • fromXmlName

      @Nullable public static GracePeriodStatus fromXmlName(String xmlName)
      Maps from xmlName to GracePeriodStatus. If no match is found for xmlName, null is returned.