Enum Class EPPRegistryExceedMaxExDate.Policy

java.lang.Object
java.lang.Enum<EPPRegistryExceedMaxExDate.Policy>
com.verisign.epp.codec.registry.v02.EPPRegistryExceedMaxExDate.Policy
All Implemented Interfaces:
Serializable, Comparable<EPPRegistryExceedMaxExDate.Policy>, Constable
Enclosing class:
EPPRegistryExceedMaxExDate

public static enum EPPRegistryExceedMaxExDate.Policy extends Enum<EPPRegistryExceedMaxExDate.Policy>
Possible values for the policy attribute.
  • Enum Constant Details

    • fail

      public static final EPPRegistryExceedMaxExDate.Policy fail
      The server will fail the renewal command when the expiration date exceeds the maximum expiration date. An example is if the maximum expiration date is 10 years, and a client renews a domain name to 10.5 years, the server will fail the renew.
    • clip

      public static final EPPRegistryExceedMaxExDate.Policy clip
      The server will clip the fractional period when the expiration date exceeds the maximum expiration date by a fraction of a period and will fail the renewal command when the expiration date exceeds the maximum expiration date by a whole period and above. An example is if the maximum expiration date is 10 years, and the client renews a domain to 10.5 years, the server will clip the .5 fractional year so that the domain name will expire exactly in 10 years.
    • disableRenewal

      public static final EPPRegistryExceedMaxExDate.Policy disableRenewal
      The server will execute the command with the renewal feature disabled when the expiration date exceeds the maximum expiration date. This may be the case for a command like "transfer" that includes a renewal feature in [RFC5731].
  • Method Details

    • values

      public static EPPRegistryExceedMaxExDate.Policy[] 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 EPPRegistryExceedMaxExDate.Policy 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