public enum ClientState extends Enum<ClientState>
Enum Constant and Description |
---|
RETRYING |
STARTED |
STARTING |
STOPPED |
STOPPING |
Modifier and Type | Method and Description |
---|---|
static ClientState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientState STARTING
public static final ClientState STARTED
public static final ClientState STOPPING
public static final ClientState STOPPED
public static final ClientState RETRYING
public static ClientState[] values()
for (ClientState c : ClientState.values()) System.out.println(c);
public static ClientState 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 nullCopyright © 2015 International Business Machines Corporation. All rights reserved.