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

Static value Conflict for ScopeConnectionState.

static final ScopeConnectionState CONNECTED

Static value Connected for ScopeConnectionState.

static final ScopeConnectionState PENDING

Static value Pending for ScopeConnectionState.

static final ScopeConnectionState REJECTED

Static value Rejected for ScopeConnectionState.

static final ScopeConnectionState REVOKED

Static value Revoked for ScopeConnectionState.

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

Static value Conflict for ScopeConnectionState.

CONNECTED

public static final ScopeConnectionState CONNECTED

Static value Connected for ScopeConnectionState.

PENDING

public static final ScopeConnectionState PENDING

Static value Pending for ScopeConnectionState.

REJECTED

public static final ScopeConnectionState REJECTED

Static value Rejected for ScopeConnectionState.

REVOKED

public static final ScopeConnectionState REVOKED

Static value Revoked for ScopeConnectionState.

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 values()

Gets known ScopeConnectionState values.

Returns:

known ScopeConnectionState values.

Applies to