Freigeben über


RunningState Class

public final class RunningState
extends ExpandableStringEnum<RunningState>

Object representing RunningState for Confidential Ledger.

Field Summary

Modifier and Type Field and Description
static final RunningState ACTIVE

Static value Active for RunningState.

static final RunningState PAUSED

Static value Paused for RunningState.

static final RunningState PAUSING

Static value Pausing for RunningState.

static final RunningState RESUMING

Static value Resuming for RunningState.

static final RunningState UNKNOWN

Static value Unknown for RunningState.

Constructor Summary

Constructor Description
RunningState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RunningState value.

Method Summary

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

Creates or finds a RunningState from its string representation.

static Collection<RunningState> values()

Gets known RunningState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACTIVE

public static final RunningState ACTIVE

Static value Active for RunningState.

PAUSED

public static final RunningState PAUSED

Static value Paused for RunningState.

PAUSING

public static final RunningState PAUSING

Static value Pausing for RunningState.

RESUMING

public static final RunningState RESUMING

Static value Resuming for RunningState.

UNKNOWN

public static final RunningState UNKNOWN

Static value Unknown for RunningState.

Constructor Details

RunningState

@Deprecated
public RunningState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RunningState value.

Method Details

fromString

public static RunningState fromString(String name)

Creates or finds a RunningState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RunningState.

values

public static Collection values()

Gets known RunningState values.

Returns:

known RunningState values.

Applies to