UpgradePreference Class

public final class UpgradePreference
extends ExpandableStringEnum<UpgradePreference>

Upgrade Preference.

Field Summary

Modifier and Type Field and Description
static final UpgradePreference EARLY

Static value Early for UpgradePreference.

static final UpgradePreference LATE

Static value Late for UpgradePreference.

static final UpgradePreference MANUAL

Static value Manual for UpgradePreference.

static final UpgradePreference NONE

Static value None for UpgradePreference.

Constructor Summary

Constructor Description
UpgradePreference()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UpgradePreference value.

Method Summary

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

Creates or finds a UpgradePreference from its string representation.

static Collection<UpgradePreference> values()

Gets known UpgradePreference values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

EARLY

public static final UpgradePreference EARLY

Static value Early for UpgradePreference.

LATE

public static final UpgradePreference LATE

Static value Late for UpgradePreference.

MANUAL

public static final UpgradePreference MANUAL

Static value Manual for UpgradePreference.

NONE

public static final UpgradePreference NONE

Static value None for UpgradePreference.

Constructor Details

UpgradePreference

@Deprecated
public UpgradePreference()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UpgradePreference value.

Method Details

fromString

public static UpgradePreference fromString(String name)

Creates or finds a UpgradePreference from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding UpgradePreference.

values

public static Collection values()

Gets known UpgradePreference values.

Returns:

known UpgradePreference values.

Applies to