Enum CType
- java.lang.Object
-
- java.lang.Enum<CType>
-
- com.floragunn.searchguard.sgconf.impl.CType
-
- All Implemented Interfaces:
Serializable,Comparable<CType>
public enum CType extends Enum<CType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIONGROUPSBLOCKSCONFIGINTERNALUSERSROLESROLESMAPPINGTENANTS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CTypefromString(String value)static Set<CType>fromStringValues(String[] strings)Map<Integer,Class<?>>getImplementationClass()static Set<String>lcStringValues()StringtoLCString()static CTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTERNALUSERS
public static final CType INTERNALUSERS
-
ACTIONGROUPS
public static final CType ACTIONGROUPS
-
CONFIG
public static final CType CONFIG
-
ROLES
public static final CType ROLES
-
ROLESMAPPING
public static final CType ROLESMAPPING
-
TENANTS
public static final CType TENANTS
-
BLOCKS
public static final CType BLOCKS
-
-
Method Detail
-
values
public static CType[] 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 (CType c : CType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CType 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
-
toLCString
public String toLCString()
-
-