FailoverType Class

public final class FailoverType
extends ExpandableStringEnum<FailoverType>

The failover type, can be ForcedAllowDataLoss or Planned.

Field Summary

Modifier and Type Field and Description
static final FailoverType FORCED_ALLOW_DATA_LOSS

Static value ForcedAllowDataLoss for FailoverType.

static final FailoverType PLANNED

Static value Planned for FailoverType.

Constructor Summary

Constructor Description
FailoverType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FailoverType value.

Method Summary

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

Creates or finds a FailoverType from its string representation.

static Collection<FailoverType> values()

Gets known FailoverType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

FORCED_ALLOW_DATA_LOSS

public static final FailoverType FORCED_ALLOW_DATA_LOSS

Static value ForcedAllowDataLoss for FailoverType.

PLANNED

public static final FailoverType PLANNED

Static value Planned for FailoverType.

Constructor Details

FailoverType

@Deprecated
public FailoverType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FailoverType value.

Method Details

fromString

public static FailoverType fromString(String name)

Creates or finds a FailoverType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding FailoverType.

values

public static Collection<FailoverType> values()

Gets known FailoverType values.

Returns:

known FailoverType values.

Applies to