UpgradeAvailable Class

public final class UpgradeAvailable
extends ExpandableStringEnum<UpgradeAvailable>

Indicates if the dedicated search service has an upgrade available.

Field Summary

Modifier and Type Field and Description
static final UpgradeAvailable AVAILABLE

There is an upgrade available for the dedicated service.

static final UpgradeAvailable NOT_AVAILABLE

An upgrade is currently not available for the dedicated service.

Constructor Summary

Constructor Description
UpgradeAvailable()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UpgradeAvailable value.

Method Summary

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

Creates or finds a UpgradeAvailable from its string representation.

static Collection<UpgradeAvailable> values()

Gets known UpgradeAvailable values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AVAILABLE

public static final UpgradeAvailable AVAILABLE

There is an upgrade available for the dedicated service.

NOT_AVAILABLE

public static final UpgradeAvailable NOT_AVAILABLE

An upgrade is currently not available for the dedicated service.

Constructor Details

UpgradeAvailable

@Deprecated
public UpgradeAvailable()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UpgradeAvailable value.

Method Details

fromString

public static UpgradeAvailable fromString(String name)

Creates or finds a UpgradeAvailable from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding UpgradeAvailable.

values

public static Collection<UpgradeAvailable> values()

Gets known UpgradeAvailable values.

Returns:

known UpgradeAvailable values.

Applies to