public static enum BadConfigException.Location extends java.lang.Enum<BadConfigException.Location>
Enum Constant and Description |
---|
ADDRESS |
ALLOWED_IPS |
DNS |
ENDPOINT |
EXCLUDED_APPLICATIONS |
INCLUDED_APPLICATIONS |
LISTEN_PORT |
MTU |
PERSISTENT_KEEPALIVE |
PRE_SHARED_KEY |
PRIVATE_KEY |
PUBLIC_KEY |
TOP_LEVEL |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
static BadConfigException.Location |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BadConfigException.Location[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BadConfigException.Location TOP_LEVEL
public static final BadConfigException.Location ADDRESS
public static final BadConfigException.Location ALLOWED_IPS
public static final BadConfigException.Location DNS
public static final BadConfigException.Location ENDPOINT
public static final BadConfigException.Location EXCLUDED_APPLICATIONS
public static final BadConfigException.Location INCLUDED_APPLICATIONS
public static final BadConfigException.Location LISTEN_PORT
public static final BadConfigException.Location MTU
public static final BadConfigException.Location PERSISTENT_KEEPALIVE
public static final BadConfigException.Location PRE_SHARED_KEY
public static final BadConfigException.Location PRIVATE_KEY
public static final BadConfigException.Location PUBLIC_KEY
public static BadConfigException.Location[] values()
for (BadConfigException.Location c : BadConfigException.Location.values()) System.out.println(c);
public static BadConfigException.Location 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 java.lang.String getName()