@ApplicationScoped public class BackendExperimentalFeaturesRegistryServiceImpl extends Object implements ExperimentalFeaturesRegistryService, BackendExperimentalFeaturesRegistryService, FeaturesEditorService
Modifier and Type | Field and Description |
---|---|
static String |
EXPERIMENTAL_FEATURES_PROPERTY_NAME |
Constructor and Description |
---|
BackendExperimentalFeaturesRegistryServiceImpl(ExperimentalFeatureDefRegistry defRegistry,
ExperimentalFeaturesStorage globalStorage) |
Modifier and Type | Method and Description |
---|---|
ExperimentalFeaturesSession |
getExperimentalFeaturesSession() |
ExperimentalFeaturesRegistryImpl |
getFeaturesRegistry() |
Boolean |
isExperimentalEnabled() |
boolean |
isFeatureEnabled(String featureId) |
void |
save(EditableExperimentalFeature editableFeature) |
public static final String EXPERIMENTAL_FEATURES_PROPERTY_NAME
@Inject public BackendExperimentalFeaturesRegistryServiceImpl(ExperimentalFeatureDefRegistry defRegistry, @Named(value="global") ExperimentalFeaturesStorage globalStorage)
public ExperimentalFeaturesRegistryImpl getFeaturesRegistry()
getFeaturesRegistry
in interface ExperimentalFeaturesRegistryService
public Boolean isExperimentalEnabled()
isExperimentalEnabled
in interface ExperimentalFeaturesRegistryService
public boolean isFeatureEnabled(String featureId)
isFeatureEnabled
in interface ExperimentalFeaturesRegistryService
public void save(EditableExperimentalFeature editableFeature)
save
in interface FeaturesEditorService
public ExperimentalFeaturesSession getExperimentalFeaturesSession()
getExperimentalFeaturesSession
in interface BackendExperimentalFeaturesRegistryService
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.