Partager via


AccessMode Class

public final class AccessMode
extends ExpandableStringEnum<AccessMode>

Access mode types.

Field Summary

Modifier and Type Field and Description
static final AccessMode OPEN

Static value Open for AccessMode.

static final AccessMode PRIVATE_ONLY

Static value PrivateOnly for AccessMode.

Constructor Summary

Constructor Description
AccessMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AccessMode value.

Method Summary

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

Creates or finds a AccessMode from its string representation.

static Collection<AccessMode> values()

Gets known AccessMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

OPEN

public static final AccessMode OPEN

Static value Open for AccessMode.

PRIVATE_ONLY

public static final AccessMode PRIVATE_ONLY

Static value PrivateOnly for AccessMode.

Constructor Details

AccessMode

@Deprecated
public AccessMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AccessMode value.

Method Details

fromString

public static AccessMode fromString(String name)

Creates or finds a AccessMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AccessMode.

values

public static Collection values()

Gets known AccessMode values.

Returns:

known AccessMode values.

Applies to