Package org.keycloak.common
Class Profile
- java.lang.Object
-
- org.keycloak.common.Profile
-
public class Profile extends Object
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Profile.Feature
static interface
Profile.PropertyResolver
static class
Profile.Type
-
Field Summary
Fields Modifier and Type Field Description static String
PRODUCT_NAME
static String
PROJECT_NAME
-
Constructor Summary
Constructors Constructor Description Profile(Profile.PropertyResolver resolver)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Set<Profile.Feature>
getDeprecatedFeatures()
static Set<Profile.Feature>
getDisabledFeatures()
static Set<Profile.Feature>
getExperimentalFeatures()
static String
getName()
static Set<Profile.Feature>
getPreviewFeatures()
static void
init()
static boolean
isFeatureEnabled(Profile.Feature feature)
static boolean
isProduct()
static void
setInstance(Profile instance)
-
-
-
Constructor Detail
-
Profile
public Profile(Profile.PropertyResolver resolver)
-
-
Method Detail
-
setInstance
public static void setInstance(Profile instance)
-
init
public static void init()
-
getName
public static String getName()
-
getDisabledFeatures
public static Set<Profile.Feature> getDisabledFeatures()
-
getPreviewFeatures
public static Set<Profile.Feature> getPreviewFeatures()
-
getExperimentalFeatures
public static Set<Profile.Feature> getExperimentalFeatures()
-
getDeprecatedFeatures
public static Set<Profile.Feature> getDeprecatedFeatures()
-
isFeatureEnabled
public static boolean isFeatureEnabled(Profile.Feature feature)
-
isProduct
public static boolean isProduct()
-
-