ServerState Class

public final class ServerState
extends ExpandableStringEnum<ServerState>

Defines values for ServerState.

Field Summary

Modifier and Type Field and Description
static final ServerState DISABLED

Static value Disabled for ServerState.

static final ServerState DROPPING

Static value Dropping for ServerState.

static final ServerState INACCESSIBLE

Static value Inaccessible for ServerState.

static final ServerState READY

Static value Ready for ServerState.

Constructor Summary

Constructor Description
ServerState()

Method Summary

Modifier and Type Method and Description
static ServerState fromString(String name)

Creates or finds a ServerState from its string representation.

static Collection<ServerState> values()

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final ServerState DISABLED

Static value Disabled for ServerState.

DROPPING

public static final ServerState DROPPING

Static value Dropping for ServerState.

INACCESSIBLE

public static final ServerState INACCESSIBLE

Static value Inaccessible for ServerState.

READY

public static final ServerState READY

Static value Ready for ServerState.

Constructor Details

ServerState

public ServerState()

Method Details

fromString

public static ServerState fromString(String name)

Creates or finds a ServerState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ServerState.

values

public static Collection<ServerState> values()

Returns:

known ServerState values.

Applies to