public static enum HostnameFilter.Mode extends Enum<HostnameFilter.Mode>
| Enum Constant and Description |
|---|
BEGINS_WITH |
ENDS_WITH |
REGEX |
| Modifier and Type | Method and Description |
|---|---|
static HostnameFilter.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostnameFilter.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostnameFilter.Mode BEGINS_WITH
public static final HostnameFilter.Mode ENDS_WITH
public static final HostnameFilter.Mode REGEX
public static HostnameFilter.Mode[] values()
for (HostnameFilter.Mode c : HostnameFilter.Mode.values()) System.out.println(c);
public static HostnameFilter.Mode 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 © 2022. All rights reserved.