public static enum Blacklist.BlacklistError extends java.lang.Enum<Blacklist.BlacklistError>
Enum Constant and Description |
---|
DOUBLE_OCCURANCE |
HOST_REGEX |
HOST_WRONG_CHARS |
NO_ERROR |
PATH_REGEX |
SUBDOMAIN_XOR_WILDCARD |
TWO_WILDCARDS_IN_HOST |
WILDCARD_BEGIN_OR_END |
Modifier and Type | Field and Description |
---|---|
(package private) int |
errorCode |
Modifier and Type | Method and Description |
---|---|
int |
getInt() |
long |
getLong() |
static Blacklist.BlacklistError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Blacklist.BlacklistError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Blacklist.BlacklistError NO_ERROR
public static final Blacklist.BlacklistError TWO_WILDCARDS_IN_HOST
public static final Blacklist.BlacklistError SUBDOMAIN_XOR_WILDCARD
public static final Blacklist.BlacklistError PATH_REGEX
public static final Blacklist.BlacklistError WILDCARD_BEGIN_OR_END
public static final Blacklist.BlacklistError HOST_WRONG_CHARS
public static final Blacklist.BlacklistError DOUBLE_OCCURANCE
public static final Blacklist.BlacklistError HOST_REGEX
public static Blacklist.BlacklistError[] values()
for (Blacklist.BlacklistError c : Blacklist.BlacklistError.values()) System.out.println(c);
public static Blacklist.BlacklistError 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 int getInt()
public long getLong()