public static enum ShareNetwork.NetworkType extends Enum<ShareNetwork.NetworkType>
Modifier and Type | Method and Description |
---|---|
String |
value() |
static ShareNetwork.NetworkType |
value(String v) |
static ShareNetwork.NetworkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShareNetwork.NetworkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShareNetwork.NetworkType VLAN
public static final ShareNetwork.NetworkType VXLAN
public static final ShareNetwork.NetworkType GRE
public static final ShareNetwork.NetworkType FLAT
public static ShareNetwork.NetworkType[] values()
for (ShareNetwork.NetworkType c : ShareNetwork.NetworkType.values()) System.out.println(c);
public static ShareNetwork.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 nullpublic static ShareNetwork.NetworkType value(String v)
public String value()
Copyright © 2017. All rights reserved.