MountState Class

public final class MountState
extends ExpandableStringEnum<MountState>

Mount state.

Field Summary

Modifier and Type Field and Description
static final MountState MOUNTED

Static value Mounted for MountState.

static final MountState MOUNT_FAILED

Static value MountFailed for MountState.

static final MountState MOUNT_REQUESTED

Static value MountRequested for MountState.

static final MountState UNMOUNTED

Static value Unmounted for MountState.

static final MountState UNMOUNT_FAILED

Static value UnmountFailed for MountState.

static final MountState UNMOUNT_REQUESTED

Static value UnmountRequested for MountState.

Constructor Summary

Constructor Description
MountState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MountState value.

Method Summary

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

Creates or finds a MountState from its string representation.

static Collection<MountState> values()

Gets known MountState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

MOUNTED

public static final MountState MOUNTED

Static value Mounted for MountState.

MOUNT_FAILED

public static final MountState MOUNT_FAILED

Static value MountFailed for MountState.

MOUNT_REQUESTED

public static final MountState MOUNT_REQUESTED

Static value MountRequested for MountState.

UNMOUNTED

public static final MountState UNMOUNTED

Static value Unmounted for MountState.

UNMOUNT_FAILED

public static final MountState UNMOUNT_FAILED

Static value UnmountFailed for MountState.

UNMOUNT_REQUESTED

public static final MountState UNMOUNT_REQUESTED

Static value UnmountRequested for MountState.

Constructor Details

MountState

@Deprecated
public MountState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MountState value.

Method Details

fromString

public static MountState fromString(String name)

Creates or finds a MountState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding MountState.

values

public static Collection<MountState> values()

Gets known MountState values.

Returns:

known MountState values.

Applies to