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 SummaryNested Classes Modifier and Type Class Description static classProfile.Featurestatic classProfile.ProfileName
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Profileconfigure(ProfileConfigResolver... resolvers)static Profiledefaults()Set<Profile.Feature>getAllFeatures()Set<Profile.Feature>getDeprecatedFeatures()Set<Profile.Feature>getDisabledFeatures()Set<Profile.Feature>getExperimentalFeatures()Map<Profile.Feature,Boolean>getFeatures()Set<Profile.Feature>getFeatures(Profile.Feature.Type type)static ProfilegetInstance()Profile.ProfileNamegetName()Set<Profile.Feature>getPreviewFeatures()static Profileinit(Profile.ProfileName profileName, Map<Profile.Feature,Boolean> features)static booleanisFeatureEnabled(Profile.Feature feature)
 
- 
- 
- 
Method Detail- 
defaultspublic static Profile defaults() 
 - 
configurepublic static Profile configure(ProfileConfigResolver... resolvers) 
 - 
initpublic static Profile init(Profile.ProfileName profileName, Map<Profile.Feature,Boolean> features) 
 - 
getInstancepublic static Profile getInstance() 
 - 
isFeatureEnabledpublic static boolean isFeatureEnabled(Profile.Feature feature) 
 - 
getNamepublic Profile.ProfileName getName() 
 - 
getAllFeaturespublic Set<Profile.Feature> getAllFeatures() 
 - 
getDisabledFeaturespublic Set<Profile.Feature> getDisabledFeatures() 
 - 
getPreviewFeaturespublic Set<Profile.Feature> getPreviewFeatures() - Returns:
- all features of type "preview" or "preview_disabled_by_default"
 
 - 
getExperimentalFeaturespublic Set<Profile.Feature> getExperimentalFeatures() 
 - 
getDeprecatedFeaturespublic Set<Profile.Feature> getDeprecatedFeatures() 
 - 
getFeaturespublic Set<Profile.Feature> getFeatures(Profile.Feature.Type type) 
 - 
getFeaturespublic Map<Profile.Feature,Boolean> getFeatures() 
 
- 
 
-