public static enum Diagnostic.Code extends Enum<Diagnostic.Code>
Enum class for the reason code.| Enum Constant and Description |
|---|
PROXY
The network interface has a proxy setting.
|
| Modifier and Type | Method and Description |
|---|---|
static Diagnostic.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Diagnostic.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Diagnostic.Code PROXY
public static Diagnostic.Code[] values()
for (Diagnostic.Code c : Diagnostic.Code.values()) System.out.println(c);
public static Diagnostic.Code 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 null