public enum NetworkServerType extends Enum<NetworkServerType>
Modifier and Type | Method and Description |
---|---|
static NetworkServerType |
get(String value) |
static NetworkServerType[] |
getArray(String[] values) |
String |
toString() |
String |
value() |
static NetworkServerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkServerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkServerType LOOKUP
public static final NetworkServerType UPDATE
public static final NetworkServerType BOTH
public static NetworkServerType[] values()
for (NetworkServerType c : NetworkServerType.values()) System.out.println(c);
public static NetworkServerType 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 String toString()
toString
in class Enum<NetworkServerType>
public static NetworkServerType get(String value)
public static NetworkServerType[] getArray(String[] values)
Copyright © 2017 ECG. All rights reserved.