次の方法で共有


ClientState Class

public final class ClientState
extends ExpandableStringEnum<ClientState>

Indicates if the client is enabled or not. Default value is Enabled.

Field Summary

Modifier and Type Field and Description
static final ClientState DISABLED

Static value Disabled for ClientState.

static final ClientState ENABLED

Static value Enabled for ClientState.

Constructor Summary

Constructor Description
ClientState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ClientState value.

Method Summary

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

Creates or finds a ClientState from its string representation.

static Collection<ClientState> values()

Gets known ClientState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final ClientState DISABLED

Static value Disabled for ClientState.

ENABLED

public static final ClientState ENABLED

Static value Enabled for ClientState.

Constructor Details

ClientState

@Deprecated
public ClientState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ClientState value.

Method Details

fromString

public static ClientState fromString(String name)

Creates or finds a ClientState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ClientState.

values

public static Collection<ClientState> values()

Gets known ClientState values.

Returns:

known ClientState values.

Applies to