public enum PermissionKind extends Enum<PermissionKind>
| Enum Constant and Description |
|---|
ACCESS
Indicates the related permission controls access to the resource.
|
AUTHORITY
Indicates the related permission controls the authority to grant/revoke access the resource to
other users.
|
| Modifier and Type | Method and Description |
|---|---|
static PermissionKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionKind ACCESS
This flag generally corresponds to GRANT/REVOKE <permission> CQL statements.
public static final PermissionKind AUTHORITY
This flag generally corresponds to GRANT/REVOKE AUTHORIZE FOR CQL statements.
public static PermissionKind[] values()
for (PermissionKind c : PermissionKind.values()) System.out.println(c);
public static PermissionKind valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.