public static enum DomainData.DomainState extends java.lang.Enum<DomainData.DomainState>
Enum Constant and Description |
---|
Connect
connected, i.e. normally registered
|
Failed
registered, but on hold due to failed DNS checks
|
Free
free
|
Invalid
invalid
|
RedemptionPeriod
redemption period
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
denicToken
the DENIC token
|
private static java.util.Map<java.lang.String,DomainData.DomainState> |
tokenMap
map from the token to the type
|
Modifier and Type | Method and Description |
---|---|
static DomainData.DomainState |
fromToken(java.lang.String denicToken)
return the state for the given token
|
java.lang.String |
getDenicToken()
return the DENIC token
|
static DomainData.DomainState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DomainData.DomainState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DomainData.DomainState Free
public static final DomainData.DomainState Connect
public static final DomainData.DomainState Failed
public static final DomainData.DomainState Invalid
public static final DomainData.DomainState RedemptionPeriod
private java.lang.String denicToken
private static final java.util.Map<java.lang.String,DomainData.DomainState> tokenMap
public static DomainData.DomainState[] values()
for (DomainData.DomainState c : DomainData.DomainState.values()) System.out.println(c);
public static DomainData.DomainState 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 java.lang.String getDenicToken()
public static DomainData.DomainState fromToken(java.lang.String denicToken)
denicToken
- the tokennull
if the
token is not foundCopyright © 2005-2013 Knipp Medien und Kommunikation GmbH