Поделиться через


OperationalState Class

public final class OperationalState
extends ExpandableStringEnum<OperationalState>

The operational state of the role instance.

Field Summary

Modifier and Type Field and Description
static final OperationalState RUNNING

Static value Running for OperationalState.

static final OperationalState STARTING

Static value Starting for OperationalState.

static final OperationalState STOPPED

Static value Stopped for OperationalState.

static final OperationalState STOPPING

Static value Stopping for OperationalState.

static final OperationalState UNKNOWN

Static value Unknown for OperationalState.

Constructor Summary

Constructor Description
OperationalState()

Method Summary

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

Creates or finds a OperationalState from its string representation.

static Collection<OperationalState> values()

Gets known OperationalState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

RUNNING

public static final OperationalState RUNNING

Static value Running for OperationalState.

STARTING

public static final OperationalState STARTING

Static value Starting for OperationalState.

STOPPED

public static final OperationalState STOPPED

Static value Stopped for OperationalState.

STOPPING

public static final OperationalState STOPPING

Static value Stopping for OperationalState.

UNKNOWN

public static final OperationalState UNKNOWN

Static value Unknown for OperationalState.

Constructor Details

OperationalState

public OperationalState()

Method Details

fromString

public static OperationalState fromString(String name)

Creates or finds a OperationalState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding OperationalState.

values

public static Collection<OperationalState> values()

Gets known OperationalState values.

Returns:

known OperationalState values.

Applies to