public static enum BlackList.Reason extends java.lang.Enum<BlackList.Reason>
3263 ยง4.3| Enum Constant and Description |
|---|
CONNECT_FAILED |
ICMP_ERROR |
RESPONSE_CODE_503 |
TIMEOUT |
| Modifier and Type | Method and Description |
|---|---|
static BlackList.Reason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlackList.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlackList.Reason CONNECT_FAILED
public static final BlackList.Reason ICMP_ERROR
public static final BlackList.Reason TIMEOUT
public static final BlackList.Reason RESPONSE_CODE_503
public static BlackList.Reason[] values()
for (BlackList.Reason c : BlackList.Reason.values()) System.out.println(c);
public static BlackList.Reason 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 nullCopyright © 2015. All Rights Reserved.