public static enum Network.FenceMode extends Enum<Network.FenceMode>
| Enum Constant and Description |
|---|
BRIDGED |
ISOLATED |
NAT_ROUTED |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static List<Network.FenceMode> |
ALL |
protected static Map<String,Network.FenceMode> |
FENCE_MODE_BY_ID |
protected String |
stringValue |
| Modifier and Type | Method and Description |
|---|---|
static Network.FenceMode |
fromValue(String value) |
String |
value() |
static Network.FenceMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Network.FenceMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Network.FenceMode BRIDGED
public static final Network.FenceMode ISOLATED
public static final Network.FenceMode NAT_ROUTED
public static final Network.FenceMode UNRECOGNIZED
public static final List<Network.FenceMode> ALL
protected final String stringValue
protected static final Map<String,Network.FenceMode> FENCE_MODE_BY_ID
public static Network.FenceMode[] values()
for (Network.FenceMode c : Network.FenceMode.values()) System.out.println(c);
public static Network.FenceMode 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 String value()
public static Network.FenceMode fromValue(String value)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.