public static enum Utils.ServerState extends Enum<Utils.ServerState>
Enum Constant and Description |
---|
Active |
BootStrap |
Shutdown |
Suspend |
Modifier and Type | Method and Description |
---|---|
static Utils.ServerState |
getServerState(int value) |
static Utils.ServerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Utils.ServerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Utils.ServerState BootStrap
public static final Utils.ServerState Active
public static final Utils.ServerState Suspend
public static final Utils.ServerState Shutdown
public static Utils.ServerState[] values()
for (Utils.ServerState c : Utils.ServerState.values()) System.out.println(c);
public static Utils.ServerState 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 Utils.ServerState getServerState(int value)
Copyright © 2016. All rights reserved.