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.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe 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.The server will execute the command with the renewal feature disabled when the expiration date exceeds the maximum expiration date.The server will fail the renewal command when the expiration date exceeds the maximum expiration date. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static EPPRegistryExceedMaxExDate.Policy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
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
-