Enum Class EPPLaunchPolicyPhase.Mode
java.lang.Object
java.lang.Enum<EPPLaunchPolicyPhase.Mode>
com.verisign.epp.codec.launchpolicy.v01.EPPLaunchPolicyPhase.Mode
- All Implemented Interfaces:
Serializable,Comparable<EPPLaunchPolicyPhase.Mode>,Constable
- Enclosing class:
EPPLaunchPolicyPhase
Mode defines how the phase operates, which include the following
possible values:fcfs- In this mode, each domain name is immediately created and there is no use of an application identifier.pendingRegistration- In this mode, the domain name is created with the "pendingCreate" status with no use of an application identifier.pendingApplication- In this mode, the domain name, referred to as a domain application, is created in the "pendingCreate" status with the server returning an application identifier in the create response for the client to use in subsequent commands (info, update, delete). When a domain application is allocated, it will become a domain without the use of an application identifier.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic EPPLaunchPolicyPhase.ModeGet the mode enumerated value given the matching string.toString()Convert the enumeratedModevalue to aString.static EPPLaunchPolicyPhase.ModeReturns the enum constant of this class with the specified name.static EPPLaunchPolicyPhase.Mode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
fcfs
-
pendingRegistration
-
pendingApplication
-
-
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
-
getMode
Get the mode enumerated value given the matching string.- Parameters:
aString-Modeenumerated string to convert to an enumeratedModeinstance.- Returns:
- Enumerated
Modevalue matching theString. - Throws:
InvalidParameterException- IfaStringdoes not match an enumeratedModestring value.
-
toString
Convert the enumeratedModevalue to aString.- Overrides:
toStringin classEnum<EPPLaunchPolicyPhase.Mode>
-