public static enum KClient.State extends Enum<KClient.State>
Enum Constant and Description |
---|
ERROR
There was an error starting or shutting down the client.
|
SHUTDOWN
Client is shutdown.
|
STARTED
Client has been successfully started.
|
Modifier and Type | Method and Description |
---|---|
static KClient.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KClient.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KClient.State STARTED
public static final KClient.State SHUTDOWN
public static final KClient.State ERROR
public static KClient.State[] values()
for (KClient.State c : KClient.State.values()) System.out.println(c);
public static KClient.State 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 © 2013–2019. All rights reserved.