Package org.keycloak.common
Enum Profile.Feature.Type
- java.lang.Object
-
- java.lang.Enum<Profile.Feature.Type>
-
- org.keycloak.common.Profile.Feature.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<Profile.Feature.Type>
- Enclosing class:
- Profile.Feature
public static enum Profile.Feature.Type extends Enum<Profile.Feature.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT
DEPRECATED
DISABLED_BY_DEFAULT
EXPERIMENTAL
PREVIEW
PREVIEW_DISABLED_BY_DEFAULT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLabel()
static Profile.Feature.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static Profile.Feature.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final Profile.Feature.Type DEFAULT
-
DISABLED_BY_DEFAULT
public static final Profile.Feature.Type DISABLED_BY_DEFAULT
-
PREVIEW
public static final Profile.Feature.Type PREVIEW
-
PREVIEW_DISABLED_BY_DEFAULT
public static final Profile.Feature.Type PREVIEW_DISABLED_BY_DEFAULT
-
EXPERIMENTAL
public static final Profile.Feature.Type EXPERIMENTAL
-
DEPRECATED
public static final Profile.Feature.Type DEPRECATED
-
-
Method Detail
-
values
public static Profile.Feature.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 (Profile.Feature.Type c : Profile.Feature.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 Profile.Feature.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
-
getLabel
public String getLabel()
-
-