public static enum ResolverAnswer.STATUS extends Enum<ResolverAnswer.STATUS>
Enum Constant and Description |
---|
BADNAME |
BADRESPONSE |
DEADLOCK |
ERROR |
NODOMAIN |
OK |
SHUTDOWN |
TIMEOUT |
Modifier and Type | Method and Description |
---|---|
static ResolverAnswer.STATUS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResolverAnswer.STATUS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResolverAnswer.STATUS OK
public static final ResolverAnswer.STATUS NODOMAIN
public static final ResolverAnswer.STATUS BADNAME
public static final ResolverAnswer.STATUS BADRESPONSE
public static final ResolverAnswer.STATUS ERROR
public static final ResolverAnswer.STATUS TIMEOUT
public static final ResolverAnswer.STATUS DEADLOCK
public static final ResolverAnswer.STATUS SHUTDOWN
public static ResolverAnswer.STATUS[] values()
for (ResolverAnswer.STATUS c : ResolverAnswer.STATUS.values()) System.out.println(c);
public static ResolverAnswer.STATUS valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright 2010-2018 Grey Software (Yusef Badri). All Rights Reserved.