Aracılığıyla paylaş


DownloadPhase Class

public final class DownloadPhase
extends ExpandableStringEnum<DownloadPhase>

The download phase.

Field Summary

Modifier and Type Field and Description
static final DownloadPhase DOWNLOADING

Static value Downloading for DownloadPhase.

static final DownloadPhase INITIALIZING

Static value Initializing for DownloadPhase.

static final DownloadPhase UNKNOWN

Static value Unknown for DownloadPhase.

static final DownloadPhase VERIFYING

Static value Verifying for DownloadPhase.

Constructor Summary

Constructor Description
DownloadPhase()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DownloadPhase value.

Method Summary

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

Creates or finds a DownloadPhase from its string representation.

static Collection<DownloadPhase> values()

Gets known DownloadPhase values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DOWNLOADING

public static final DownloadPhase DOWNLOADING

Static value Downloading for DownloadPhase.

INITIALIZING

public static final DownloadPhase INITIALIZING

Static value Initializing for DownloadPhase.

UNKNOWN

public static final DownloadPhase UNKNOWN

Static value Unknown for DownloadPhase.

VERIFYING

public static final DownloadPhase VERIFYING

Static value Verifying for DownloadPhase.

Constructor Details

DownloadPhase

@Deprecated
public DownloadPhase()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DownloadPhase value.

Method Details

fromString

public static DownloadPhase fromString(String name)

Creates or finds a DownloadPhase from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DownloadPhase.

values

public static Collection<DownloadPhase> values()

Gets known DownloadPhase values.

Returns:

known DownloadPhase values.

Applies to