SessionState Class

public final class SessionState
extends ExpandableStringEnum<SessionState>

State of user session.

Field Summary

Modifier and Type Field and Description
static final SessionState ACTIVE

Static value Active for SessionState.

static final SessionState DISCONNECTED

Static value Disconnected for SessionState.

static final SessionState LOG_OFF

Static value LogOff for SessionState.

static final SessionState PENDING

Static value Pending for SessionState.

static final SessionState UNKNOWN

Static value Unknown for SessionState.

static final SessionState USER_PROFILE_DISK_MOUNTED

Static value UserProfileDiskMounted for SessionState.

Constructor Summary

Constructor Description
SessionState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SessionState value.

Method Summary

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

Creates or finds a SessionState from its string representation.

static Collection<SessionState> values()

Gets known SessionState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACTIVE

public static final SessionState ACTIVE

Static value Active for SessionState.

DISCONNECTED

public static final SessionState DISCONNECTED

Static value Disconnected for SessionState.

LOG_OFF

public static final SessionState LOG_OFF

Static value LogOff for SessionState.

PENDING

public static final SessionState PENDING

Static value Pending for SessionState.

UNKNOWN

public static final SessionState UNKNOWN

Static value Unknown for SessionState.

USER_PROFILE_DISK_MOUNTED

public static final SessionState USER_PROFILE_DISK_MOUNTED

Static value UserProfileDiskMounted for SessionState.

Constructor Details

SessionState

@Deprecated
public SessionState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SessionState value.

Method Details

fromString

public static SessionState fromString(String name)

Creates or finds a SessionState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SessionState.

values

public static Collection<SessionState> values()

Gets known SessionState values.

Returns:

known SessionState values.

Applies to