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