public static enum PermissionNameProvider.Name extends Enum<PermissionNameProvider.Name>
Enum Constant and Description |
---|
ALL |
COLL_EDIT_PERM |
COLL_READ_PERM |
CONFIG_EDIT_PERM |
CONFIG_READ_PERM |
CORE_EDIT_PERM |
CORE_READ_PERM |
METRICS_READ_PERM |
READ_PERM |
SCHEMA_EDIT_PERM |
SCHEMA_READ_PERM |
SECURITY_EDIT_PERM |
SECURITY_READ_PERM |
UPDATE_PERM |
Modifier and Type | Method and Description |
---|---|
static PermissionNameProvider.Name |
get(String s) |
String |
getPermissionName() |
static PermissionNameProvider.Name |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionNameProvider.Name[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionNameProvider.Name COLL_EDIT_PERM
public static final PermissionNameProvider.Name COLL_READ_PERM
public static final PermissionNameProvider.Name CORE_READ_PERM
public static final PermissionNameProvider.Name CORE_EDIT_PERM
public static final PermissionNameProvider.Name READ_PERM
public static final PermissionNameProvider.Name UPDATE_PERM
public static final PermissionNameProvider.Name CONFIG_EDIT_PERM
public static final PermissionNameProvider.Name CONFIG_READ_PERM
public static final PermissionNameProvider.Name SCHEMA_READ_PERM
public static final PermissionNameProvider.Name SCHEMA_EDIT_PERM
public static final PermissionNameProvider.Name SECURITY_EDIT_PERM
public static final PermissionNameProvider.Name SECURITY_READ_PERM
public static final PermissionNameProvider.Name METRICS_READ_PERM
public static final PermissionNameProvider.Name ALL
public static PermissionNameProvider.Name[] values()
for (PermissionNameProvider.Name c : PermissionNameProvider.Name.values()) System.out.println(c);
public static PermissionNameProvider.Name 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 nullpublic static PermissionNameProvider.Name get(String s)
public String getPermissionName()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.