ConfigServerState Class

public final class ConfigServerState
extends ExpandableStringEnum<ConfigServerState>

State of the config server.

Field Summary

Modifier and Type Field and Description
static final ConfigServerState DELETED

Static value Deleted for ConfigServerState.

static final ConfigServerState FAILED

Static value Failed for ConfigServerState.

static final ConfigServerState NOT_AVAILABLE

Static value NotAvailable for ConfigServerState.

static final ConfigServerState SUCCEEDED

Static value Succeeded for ConfigServerState.

static final ConfigServerState UPDATING

Static value Updating for ConfigServerState.

Constructor Summary

Constructor Description
ConfigServerState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ConfigServerState value.

Method Summary

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

Creates or finds a ConfigServerState from its string representation.

static Collection<ConfigServerState> values()

Gets known ConfigServerState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DELETED

public static final ConfigServerState DELETED

Static value Deleted for ConfigServerState.

FAILED

public static final ConfigServerState FAILED

Static value Failed for ConfigServerState.

NOT_AVAILABLE

public static final ConfigServerState NOT_AVAILABLE

Static value NotAvailable for ConfigServerState.

SUCCEEDED

public static final ConfigServerState SUCCEEDED

Static value Succeeded for ConfigServerState.

UPDATING

public static final ConfigServerState UPDATING

Static value Updating for ConfigServerState.

Constructor Details

ConfigServerState

@Deprecated
public ConfigServerState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ConfigServerState value.

Method Details

fromString

public static ConfigServerState fromString(String name)

Creates or finds a ConfigServerState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ConfigServerState.

values

public static Collection values()

Gets known ConfigServerState values.

Returns:

known ConfigServerState values.

Applies to