ConnectionStatus Class

public final class ConnectionStatus
extends ExpandableStringEnum<ConnectionStatus>

The private link service connection status.

Field Summary

Modifier and Type Field and Description
static final ConnectionStatus APPROVED

Static value Approved for ConnectionStatus.

static final ConnectionStatus DISCONNECTED

Static value Disconnected for ConnectionStatus.

static final ConnectionStatus PENDING

Static value Pending for ConnectionStatus.

static final ConnectionStatus REJECTED

Static value Rejected for ConnectionStatus.

Constructor Summary

Constructor Description
ConnectionStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ConnectionStatus value.

Method Summary

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

Creates or finds a ConnectionStatus from its string representation.

static Collection<ConnectionStatus> values()

Gets known ConnectionStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

APPROVED

public static final ConnectionStatus APPROVED

Static value Approved for ConnectionStatus.

DISCONNECTED

public static final ConnectionStatus DISCONNECTED

Static value Disconnected for ConnectionStatus.

PENDING

public static final ConnectionStatus PENDING

Static value Pending for ConnectionStatus.

REJECTED

public static final ConnectionStatus REJECTED

Static value Rejected for ConnectionStatus.

Constructor Details

ConnectionStatus

@Deprecated
public ConnectionStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ConnectionStatus value.

Method Details

fromString

public static ConnectionStatus fromString(String name)

Creates or finds a ConnectionStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ConnectionStatus.

values

public static Collection values()

Gets known ConnectionStatus values.

Returns:

known ConnectionStatus values.

Applies to