ScopeConnectionState Class

public final class ScopeConnectionState
extends ExpandableStringEnum<ScopeConnectionState>

The current scope connection state.

Field Summary

Modifier and Type Field and Description
static final ScopeConnectionState CONFLICT

Conflict.

static final ScopeConnectionState CONNECTED

Connected.

static final ScopeConnectionState PENDING

Pending.

static final ScopeConnectionState REJECTED

Rejected.

static final ScopeConnectionState REVOKED

Revoked.

Constructor Summary

Constructor Description
ScopeConnectionState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScopeConnectionState value.

Method Summary

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

Creates or finds a ScopeConnectionState from its string representation.

static Collection<ScopeConnectionState> values()

Gets known ScopeConnectionState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CONFLICT

public static final ScopeConnectionState CONFLICT

Conflict.

CONNECTED

public static final ScopeConnectionState CONNECTED

Connected.

PENDING

public static final ScopeConnectionState PENDING

Pending.

REJECTED

public static final ScopeConnectionState REJECTED

Rejected.

REVOKED

public static final ScopeConnectionState REVOKED

Revoked.

Constructor Details

ScopeConnectionState

@Deprecated
public ScopeConnectionState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScopeConnectionState value.

Method Details

fromString

public static ScopeConnectionState fromString(String name)

Creates or finds a ScopeConnectionState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ScopeConnectionState.

values

public static Collection<ScopeConnectionState> values()

Gets known ScopeConnectionState values.

Returns:

known ScopeConnectionState values.

Applies to