RootSquashType Class

public final class RootSquashType
extends ExpandableStringEnum<RootSquashType>

The property is for NFS share only. The default is NoRootSquash.

Field Summary

Modifier and Type Field and Description
static final RootSquashType ALL_SQUASH

Static value AllSquash for RootSquashType.

static final RootSquashType NO_ROOT_SQUASH

Static value NoRootSquash for RootSquashType.

static final RootSquashType ROOT_SQUASH

Static value RootSquash for RootSquashType.

Constructor Summary

Constructor Description
RootSquashType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RootSquashType value.

Method Summary

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

Creates or finds a RootSquashType from its string representation.

static Collection<RootSquashType> values()

Gets known RootSquashType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALL_SQUASH

public static final RootSquashType ALL_SQUASH

Static value AllSquash for RootSquashType.

NO_ROOT_SQUASH

public static final RootSquashType NO_ROOT_SQUASH

Static value NoRootSquash for RootSquashType.

ROOT_SQUASH

public static final RootSquashType ROOT_SQUASH

Static value RootSquash for RootSquashType.

Constructor Details

RootSquashType

@Deprecated
public RootSquashType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RootSquashType value.

Method Details

fromString

public static RootSquashType fromString(String name)

Creates or finds a RootSquashType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RootSquashType.

values

public static Collection values()

Gets known RootSquashType values.

Returns:

known RootSquashType values.

Applies to