public enum NetworkMode extends java.lang.Enum<NetworkMode>
Enum Constant and Description |
---|
INFRASTRUCTURE_CLOUD |
INFRASTRUCTURE_ONLY |
PEER_TO_PEER |
Modifier and Type | Method and Description |
---|---|
static NetworkMode |
fromValue(java.lang.String text) |
java.lang.String |
getValue() |
java.lang.String |
toString() |
static NetworkMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NetworkMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkMode PEER_TO_PEER
public static final NetworkMode INFRASTRUCTURE_ONLY
public static final NetworkMode INFRASTRUCTURE_CLOUD
public static NetworkMode[] values()
for (NetworkMode c : NetworkMode.values()) System.out.println(c);
public static NetworkMode 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 getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<NetworkMode>
public static NetworkMode fromValue(java.lang.String text)