Dela via


DiskState Class

public final class DiskState
extends ExpandableStringEnum<DiskState>

This enumerates the possible state of the disk.

Field Summary

Modifier and Type Field and Description
static final DiskState ACTIVE_SAS

Static value ActiveSAS for DiskState.

static final DiskState ACTIVE_SASFROZEN

Static value ActiveSASFrozen for DiskState.

static final DiskState ACTIVE_UPLOAD

Static value ActiveUpload for DiskState.

static final DiskState ATTACHED

Static value Attached for DiskState.

static final DiskState FROZEN

Static value Frozen for DiskState.

static final DiskState READY_TO_UPLOAD

Static value ReadyToUpload for DiskState.

static final DiskState RESERVED

Static value Reserved for DiskState.

static final DiskState UNATTACHED

Static value Unattached for DiskState.

Constructor Summary

Constructor Description
DiskState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DiskState value.

Method Summary

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

Creates or finds a DiskState from its string representation.

static Collection<DiskState> values()

Gets known DiskState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACTIVE_SAS

public static final DiskState ACTIVE_SAS

Static value ActiveSAS for DiskState.

ACTIVE_SASFROZEN

public static final DiskState ACTIVE_SASFROZEN

Static value ActiveSASFrozen for DiskState.

ACTIVE_UPLOAD

public static final DiskState ACTIVE_UPLOAD

Static value ActiveUpload for DiskState.

ATTACHED

public static final DiskState ATTACHED

Static value Attached for DiskState.

FROZEN

public static final DiskState FROZEN

Static value Frozen for DiskState.

READY_TO_UPLOAD

public static final DiskState READY_TO_UPLOAD

Static value ReadyToUpload for DiskState.

RESERVED

public static final DiskState RESERVED

Static value Reserved for DiskState.

UNATTACHED

public static final DiskState UNATTACHED

Static value Unattached for DiskState.

Constructor Details

DiskState

@Deprecated
public DiskState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DiskState value.

Method Details

fromString

public static DiskState fromString(String name)

Creates or finds a DiskState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DiskState.

values

public static Collection values()

Gets known DiskState values.

Returns:

known DiskState values.

Applies to