|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DomainData.DomainState>
de.knipp.rritoolkit.DomainData.DomainState
public static enum DomainData.DomainState
enumeration for the different states of the domain
Enum Constant Summary | |
---|---|
Connect
connected, i.e. normally registered |
|
Failed
registered, but on hold due to failed DNS checks |
|
Free
free |
|
Invalid
invalid |
Field Summary | |
---|---|
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 |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DomainData.DomainState Free
public static final DomainData.DomainState Connect
public static final DomainData.DomainState Failed
public static final DomainData.DomainState Invalid
Field Detail |
---|
private java.lang.String denicToken
private static final java.util.Map<java.lang.String,DomainData.DomainState> tokenMap
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getDenicToken()
public static DomainData.DomainState fromToken(java.lang.String denicToken)
denicToken
- the token
null
if the
token is not found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |