Phase Class

public final class Phase
extends ExpandableStringEnum<Phase>

The operation phase.

Field Summary

Modifier and Type Field and Description
static final Phase BUILDING_HYPERSCALE_COMPONENTS

BuildingHyperscaleComponents.

static final Phase CATCHUP

Catchup.

static final Phase COPYING

Copying.

static final Phase CUTOVER_IN_PROGRESS

CutoverInProgress.

static final Phase LOG_TRANSITION_IN_PROGRESS

LogTransitionInProgress.

static final Phase WAITING_FOR_CUTOVER

WaitingForCutover.

Constructor Summary

Constructor Description
Phase()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Phase value.

Method Summary

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

Creates or finds a Phase from its string representation.

static Collection<Phase> values()

Gets known Phase values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BUILDING_HYPERSCALE_COMPONENTS

public static final Phase BUILDING_HYPERSCALE_COMPONENTS

BuildingHyperscaleComponents.

CATCHUP

public static final Phase CATCHUP

Catchup.

COPYING

public static final Phase COPYING

Copying.

CUTOVER_IN_PROGRESS

public static final Phase CUTOVER_IN_PROGRESS

CutoverInProgress.

LOG_TRANSITION_IN_PROGRESS

public static final Phase LOG_TRANSITION_IN_PROGRESS

LogTransitionInProgress.

WAITING_FOR_CUTOVER

public static final Phase WAITING_FOR_CUTOVER

WaitingForCutover.

Constructor Details

Phase

@Deprecated
public Phase()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Phase value.

Method Details

fromString

public static Phase fromString(String name)

Creates or finds a Phase from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Phase.

values

public static Collection<Phase> values()

Gets known Phase values.

Returns:

known Phase values.

Applies to