public enum Phase extends java.lang.Enum<Phase>
SUNRISE
- Phase when trademark holders can submit registrations or applications with
trademark information that can be validated by.LANDRUSH
- Post sunrise phase when non-trademark holders are allowed to register
domain names with steps taken to address a large volume of initial
registrations.CLAIMS
- Trademark claims as defined by Trademark Clearinghouse model of displaying
a claims notice to clients for domain names that match trademarks.OPEN
- Post launch phase that is also referred to as "steady state". Servers MAY
require additional trademark protection with this phase.CUSTOM
- Custom phase that is defined using a free-form
attribute like the "subphase" attribute.Enum Constant and Description |
---|
CLAIMS |
CUSTOM |
LANDRUSH |
OPEN |
SUNRISE |
Modifier and Type | Method and Description |
---|---|
static Phase |
getPhase(java.lang.String aString)
Get the phase enumerated value given the matching string.
|
java.lang.String |
toString()
Convert the enumerated
Phase value to a
String . |
static Phase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Phase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Phase SUNRISE
public static final Phase LANDRUSH
public static final Phase CLAIMS
public static final Phase OPEN
public static final Phase CUSTOM
public static Phase[] values()
for (Phase c : Phase.values()) System.out.println(c);
public static Phase valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Phase getPhase(java.lang.String aString)
aString
- Phase
enumerated string to convert to an
enumerated Phase
instance.Phase
value matching the
String
.java.security.InvalidParameterException
- If aString
does not match an enumerated
Phase
string value.public java.lang.String toString()
Phase
value to a
String
.toString
in class java.lang.Enum<Phase>