Package org.apache.solr.security
Enum PermissionNameProvider.Name
- java.lang.Object
-
- java.lang.Enum<PermissionNameProvider.Name>
-
- org.apache.solr.security.PermissionNameProvider.Name
-
- All Implemented Interfaces:
Serializable
,Comparable<PermissionNameProvider.Name>
- Enclosing interface:
- PermissionNameProvider
public static enum PermissionNameProvider.Name extends Enum<PermissionNameProvider.Name>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
COLL_EDIT_PERM
public static final PermissionNameProvider.Name COLL_EDIT_PERM
-
COLL_READ_PERM
public static final PermissionNameProvider.Name COLL_READ_PERM
-
CORE_READ_PERM
public static final PermissionNameProvider.Name CORE_READ_PERM
-
CORE_EDIT_PERM
public static final PermissionNameProvider.Name CORE_EDIT_PERM
-
ZK_READ_PERM
public static final PermissionNameProvider.Name ZK_READ_PERM
-
READ_PERM
public static final PermissionNameProvider.Name READ_PERM
-
UPDATE_PERM
public static final PermissionNameProvider.Name UPDATE_PERM
-
CONFIG_EDIT_PERM
public static final PermissionNameProvider.Name CONFIG_EDIT_PERM
-
CONFIG_READ_PERM
public static final PermissionNameProvider.Name CONFIG_READ_PERM
-
SCHEMA_READ_PERM
public static final PermissionNameProvider.Name SCHEMA_READ_PERM
-
SCHEMA_EDIT_PERM
public static final PermissionNameProvider.Name SCHEMA_EDIT_PERM
-
SECURITY_EDIT_PERM
public static final PermissionNameProvider.Name SECURITY_EDIT_PERM
-
SECURITY_READ_PERM
public static final PermissionNameProvider.Name SECURITY_READ_PERM
-
METRICS_READ_PERM
public static final PermissionNameProvider.Name METRICS_READ_PERM
-
HEALTH_PERM
public static final PermissionNameProvider.Name HEALTH_PERM
-
FILESTORE_READ_PERM
public static final PermissionNameProvider.Name FILESTORE_READ_PERM
-
FILESTORE_WRITE_PERM
public static final PermissionNameProvider.Name FILESTORE_WRITE_PERM
-
PACKAGE_EDIT_PERM
public static final PermissionNameProvider.Name PACKAGE_EDIT_PERM
-
PACKAGE_READ_PERM
public static final PermissionNameProvider.Name PACKAGE_READ_PERM
-
ALL
public static final PermissionNameProvider.Name ALL
-
-
Method Detail
-
values
public static PermissionNameProvider.Name[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PermissionNameProvider.Name c : PermissionNameProvider.Name.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PermissionNameProvider.Name valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
get
public static PermissionNameProvider.Name get(String s)
-
getPermissionName
public String getPermissionName()
-
-