DriveState Class

public final class DriveState
extends ExpandableStringEnum<DriveState>

The drive's current state.

Field Summary

Modifier and Type Field and Description
static final DriveState COMPLETED

Static value Completed for DriveState.

static final DriveState COMPLETED_MORE_INFO

Static value CompletedMoreInfo for DriveState.

static final DriveState NEVER_RECEIVED

Static value NeverReceived for DriveState.

static final DriveState RECEIVED

Static value Received for DriveState.

static final DriveState SHIPPED_BACK

Static value ShippedBack for DriveState.

static final DriveState SPECIFIED

Static value Specified for DriveState.

static final DriveState TRANSFERRING

Static value Transferring for DriveState.

Constructor Summary

Constructor Description
DriveState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DriveState value.

Method Summary

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

Creates or finds a DriveState from its string representation.

static Collection<DriveState> values()

Gets known DriveState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

COMPLETED

public static final DriveState COMPLETED

Static value Completed for DriveState.

COMPLETED_MORE_INFO

public static final DriveState COMPLETED_MORE_INFO

Static value CompletedMoreInfo for DriveState.

NEVER_RECEIVED

public static final DriveState NEVER_RECEIVED

Static value NeverReceived for DriveState.

RECEIVED

public static final DriveState RECEIVED

Static value Received for DriveState.

SHIPPED_BACK

public static final DriveState SHIPPED_BACK

Static value ShippedBack for DriveState.

SPECIFIED

public static final DriveState SPECIFIED

Static value Specified for DriveState.

TRANSFERRING

public static final DriveState TRANSFERRING

Static value Transferring for DriveState.

Constructor Details

DriveState

@Deprecated
public DriveState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DriveState value.

Method Details

fromString

public static DriveState fromString(String name)

Creates or finds a DriveState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DriveState.

values

public static Collection values()

Gets known DriveState values.

Returns:

known DriveState values.

Applies to