共用方式為


AccessRights Class

public final class AccessRights
extends ExpandableStringEnum<AccessRights>

Access rights of an authorization.

Field Summary

Modifier and Type Field and Description
static final AccessRights LISTEN

Static value Listen for AccessRights.

static final AccessRights MANAGE

Static value Manage for AccessRights.

static final AccessRights SEND

Static value Send for AccessRights.

Constructor Summary

Constructor Description
AccessRights()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AccessRights value.

Method Summary

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

Creates or finds a AccessRights from its string representation.

static Collection<AccessRights> values()

Gets known AccessRights values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

LISTEN

public static final AccessRights LISTEN

Static value Listen for AccessRights.

MANAGE

public static final AccessRights MANAGE

Static value Manage for AccessRights.

SEND

public static final AccessRights SEND

Static value Send for AccessRights.

Constructor Details

AccessRights

@Deprecated
public AccessRights()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AccessRights value.

Method Details

fromString

public static AccessRights fromString(String name)

Creates or finds a AccessRights from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AccessRights.

values

public static Collection values()

Gets known AccessRights values.

Returns:

known AccessRights values.

Applies to