Interface ExperimentalFeaturesRegistryService
-
public interface ExperimentalFeaturesRegistryServiceBasic definition of the service that manages the ExperimentalFeaturesFramework
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExperimentalFeaturesRegistrygetFeaturesRegistry()Retrieves the actualExperimentalFeaturesRegistryfor the userBooleanisExperimentalEnabled()Determines if the experimental framework is enabled or notbooleanisFeatureEnabled(String featureId)Determines if a given feature is enabled or not.
-
-
-
Method Detail
-
getFeaturesRegistry
ExperimentalFeaturesRegistry getFeaturesRegistry()
Retrieves the actualExperimentalFeaturesRegistryfor the user- Returns:
-
isFeatureEnabled
boolean isFeatureEnabled(String featureId)
Determines if a given feature is enabled or not.- Parameters:
featureId- a String containing the identifier of an existing feature- Returns:
- true if the feature is enabled, false if it is disabled
-
isExperimentalEnabled
Boolean isExperimentalEnabled()
Determines if the experimental framework is enabled or not- Returns:
- true if it is enabled, false if not
-
-