public static enum Types.VPNState extends Enum<Types.VPNState>
Enum Constant and Description |
---|
ACTIVE |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static Types.VPNState |
fromValue(String v) |
static Types.VPNState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Types.VPNState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Types.VPNState ACTIVE
public static final Types.VPNState UNRECOGNIZED
public static Types.VPNState[] values()
for (Types.VPNState c : Types.VPNState.values()) System.out.println(c);
public static Types.VPNState 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 nullpublic static Types.VPNState fromValue(String v)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.