DenySettingsMode Class

public final class DenySettingsMode
extends ExpandableStringEnum<DenySettingsMode>

denySettings Mode that defines denied actions.

Field Summary

Modifier and Type Field and Description
static final DenySettingsMode DENY_DELETE

Static value denyDelete for DenySettingsMode.

static final DenySettingsMode DENY_WRITE_AND_DELETE

Static value denyWriteAndDelete for DenySettingsMode.

static final DenySettingsMode NONE

Static value none for DenySettingsMode.

Constructor Summary

Constructor Description
DenySettingsMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DenySettingsMode value.

Method Summary

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

Creates or finds a DenySettingsMode from its string representation.

static Collection<DenySettingsMode> values()

Gets known DenySettingsMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DENY_DELETE

public static final DenySettingsMode DENY_DELETE

Static value denyDelete for DenySettingsMode.

DENY_WRITE_AND_DELETE

public static final DenySettingsMode DENY_WRITE_AND_DELETE

Static value denyWriteAndDelete for DenySettingsMode.

NONE

public static final DenySettingsMode NONE

Static value none for DenySettingsMode.

Constructor Details

DenySettingsMode

@Deprecated
public DenySettingsMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DenySettingsMode value.

Method Details

fromString

public static DenySettingsMode fromString(String name)

Creates or finds a DenySettingsMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DenySettingsMode.

values

public static Collection values()

Gets known DenySettingsMode values.

Returns:

known DenySettingsMode values.

Applies to