Partager via


Access Class

public final class Access
extends ExpandableStringEnum<Access>

Access to be allowed or denied.

Field Summary

Modifier and Type Field and Description
static final Access ALLOW

Static value Allow for Access.

static final Access DENY

Static value Deny for Access.

Constructor Summary

Constructor Description
Access()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Access value.

Method Summary

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

Creates or finds a Access from its string representation.

static Collection<Access> values()

Gets known Access values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALLOW

public static final Access ALLOW

Static value Allow for Access.

DENY

public static final Access DENY

Static value Deny for Access.

Constructor Details

Access

@Deprecated
public Access()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Access value.

Method Details

fromString

public static Access fromString(String name)

Creates or finds a Access from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Access.

values

public static Collection values()

Gets known Access values.

Returns:

known Access values.

Applies to