public static enum VtnServiceApi.NetworkType extends Enum<VtnServiceApi.NetworkType>
| Enum Constant and Description |
|---|
MANAGEMENT_HOSTS |
MANAGEMENT_LOCAL |
PRIVATE |
PUBLIC |
| Modifier and Type | Method and Description |
|---|---|
static VtnServiceApi.NetworkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VtnServiceApi.NetworkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VtnServiceApi.NetworkType PRIVATE
public static final VtnServiceApi.NetworkType PUBLIC
public static final VtnServiceApi.NetworkType MANAGEMENT_HOSTS
public static final VtnServiceApi.NetworkType MANAGEMENT_LOCAL
public static VtnServiceApi.NetworkType[] values()
for (VtnServiceApi.NetworkType c : VtnServiceApi.NetworkType.values()) System.out.println(c);
public static VtnServiceApi.NetworkType 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