CatalogConnectionState Class

public final class CatalogConnectionState
extends ExpandableStringEnum<CatalogConnectionState>

The connection state of the catalog.

Field Summary

Modifier and Type Field and Description
static final CatalogConnectionState CONNECTED

Static value Connected for CatalogConnectionState.

static final CatalogConnectionState DISCONNECTED

Static value Disconnected for CatalogConnectionState.

Constructor Summary

Constructor Description
CatalogConnectionState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CatalogConnectionState value.

Method Summary

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

Creates or finds a CatalogConnectionState from its string representation.

static Collection<CatalogConnectionState> values()

Gets known CatalogConnectionState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CONNECTED

public static final CatalogConnectionState CONNECTED

Static value Connected for CatalogConnectionState.

DISCONNECTED

public static final CatalogConnectionState DISCONNECTED

Static value Disconnected for CatalogConnectionState.

Constructor Details

CatalogConnectionState

@Deprecated
public CatalogConnectionState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CatalogConnectionState value.

Method Details

fromString

public static CatalogConnectionState fromString(String name)

Creates or finds a CatalogConnectionState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding CatalogConnectionState.

values

public static Collection values()

Gets known CatalogConnectionState values.

Returns:

known CatalogConnectionState values.

Applies to