public enum EServerFlags extends java.lang.Enum<EServerFlags>
| Enum Constant and Description |
|---|
Active |
Dedicated |
Linux |
None |
Passworded |
Private |
Secure |
| Modifier and Type | Method and Description |
|---|---|
int |
code() |
static int |
code(java.util.EnumSet<EServerFlags> flags) |
static java.util.EnumSet<EServerFlags> |
from(int code) |
static EServerFlags |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EServerFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EServerFlags None
public static final EServerFlags Active
public static final EServerFlags Secure
public static final EServerFlags Dedicated
public static final EServerFlags Linux
public static final EServerFlags Passworded
public static final EServerFlags Private
public static EServerFlags[] values()
for (EServerFlags c : EServerFlags.values()) System.out.println(c);
public static EServerFlags 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 int code()
public static java.util.EnumSet<EServerFlags> from(int code)
public static int code(java.util.EnumSet<EServerFlags> flags)