Enum PrivilegesInterceptor.InterceptionResult
- java.lang.Object
-
- java.lang.Enum<PrivilegesInterceptor.InterceptionResult>
-
- com.floragunn.searchguard.privileges.PrivilegesInterceptor.InterceptionResult
-
- All Implemented Interfaces:
Serializable,Comparable<PrivilegesInterceptor.InterceptionResult>
- Enclosing class:
- PrivilegesInterceptor
public static enum PrivilegesInterceptor.InterceptionResult extends Enum<PrivilegesInterceptor.InterceptionResult>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PrivilegesInterceptor.InterceptionResultvalueOf(String name)Returns the enum constant of this type with the specified name.static PrivilegesInterceptor.InterceptionResult[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALLOW
public static final PrivilegesInterceptor.InterceptionResult ALLOW
-
DENY
public static final PrivilegesInterceptor.InterceptionResult DENY
-
NORMAL
public static final PrivilegesInterceptor.InterceptionResult NORMAL
-
-
Method Detail
-
values
public static PrivilegesInterceptor.InterceptionResult[] 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 (PrivilegesInterceptor.InterceptionResult c : PrivilegesInterceptor.InterceptionResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PrivilegesInterceptor.InterceptionResult 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
-
-