Package org.keycloak.common
Class Profile
java.lang.Object
org.keycloak.common.Profile
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Profile
configure
(ProfileConfigResolver... resolvers) static Profile
defaults()
static Set<Profile.Feature>
getFeatureVersions
(String feature) Get all of the feature versions for the given feature.static Profile
getName()
static Profile
init
(Profile.ProfileName profileName, Map<Profile.Feature, Boolean> features) static boolean
isFeatureEnabled
(Profile.Feature feature) static void
reset()
-
Method Details
-
defaults
-
configure
-
getAllUnversionedFeatureNames
-
getDisableableUnversionedFeatureNames
-
getFeatureVersions
Get all of the feature versions for the given feature. They will be ordered by priority.If the feature does not exist an empty collection will be returned.
-
init
-
getInstance
-
reset
public static void reset() -
isFeatureEnabled
-
getName
-
getAllFeatures
-
getDisabledFeatures
-
getPreviewFeatures
- Returns:
- all features of type "preview" or "preview_disabled_by_default"
-
getExperimentalFeatures
-
getDeprecatedFeatures
-
getFeatures
-
getFeatures
-