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