Partager via


State Class

public final class State
extends ExpandableStringEnum<State>

Defines values for State.

Field Summary

Modifier and Type Field and Description
static final State ACTIVATING

Static value Activating for State.

static final State ACTIVATION_FAILED

Static value ActivationFailed for State.

static final State ACTIVE

Static value Active for State.

static final State DELETED

Static value Deleted for State.

static final State DELETING

Static value Deleting for State.

static final State DELETION_FAILED

Static value DeletionFailed for State.

static final State FAILING_OVER

Static value FailingOver for State.

static final State FAILOVER_FAILED

Static value FailoverFailed for State.

static final State RESUMING

Static value Resuming for State.

static final State SUSPENDED

Static value Suspended for State.

static final State SUSPENDING

Static value Suspending for State.

static final State TRANSITIONING

Static value Transitioning for State.

Constructor Summary

Constructor Description
State()

Method Summary

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

Creates or finds a State from its string representation.

static Collection<State> values()

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACTIVATING

public static final State ACTIVATING

Static value Activating for State.

ACTIVATION_FAILED

public static final State ACTIVATION_FAILED

Static value ActivationFailed for State.

ACTIVE

public static final State ACTIVE

Static value Active for State.

DELETED

public static final State DELETED

Static value Deleted for State.

DELETING

public static final State DELETING

Static value Deleting for State.

DELETION_FAILED

public static final State DELETION_FAILED

Static value DeletionFailed for State.

FAILING_OVER

public static final State FAILING_OVER

Static value FailingOver for State.

FAILOVER_FAILED

public static final State FAILOVER_FAILED

Static value FailoverFailed for State.

RESUMING

public static final State RESUMING

Static value Resuming for State.

SUSPENDED

public static final State SUSPENDED

Static value Suspended for State.

SUSPENDING

public static final State SUSPENDING

Static value Suspending for State.

TRANSITIONING

public static final State TRANSITIONING

Static value Transitioning for State.

Constructor Details

State

public State()

Method Details

fromString

public static State fromString(String name)

Creates or finds a State from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding State.

values

public static Collection values()

Returns:

known State values.

Applies to