Class BackendExperimentalFeaturesRegistryServiceImpl
- java.lang.Object
-
- org.uberfire.experimental.service.BackendExperimentalFeaturesRegistryServiceImpl
-
- All Implemented Interfaces:
org.uberfire.experimental.service.backend.BackendExperimentalFeaturesRegistryService,org.uberfire.experimental.service.editor.FeaturesEditorService,org.uberfire.experimental.service.ExperimentalFeaturesRegistryService
@ApplicationScoped public class BackendExperimentalFeaturesRegistryServiceImpl extends Object implements org.uberfire.experimental.service.ExperimentalFeaturesRegistryService, org.uberfire.experimental.service.backend.BackendExperimentalFeaturesRegistryService, org.uberfire.experimental.service.editor.FeaturesEditorService
-
-
Field Summary
Fields Modifier and Type Field Description static StringEXPERIMENTAL_FEATURES_PROPERTY_NAME
-
Constructor Summary
Constructors Constructor Description BackendExperimentalFeaturesRegistryServiceImpl(org.uberfire.experimental.service.definition.ExperimentalFeatureDefRegistry defRegistry, ExperimentalFeaturesStorage globalStorage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.uberfire.experimental.service.backend.ExperimentalFeaturesSessiongetExperimentalFeaturesSession()org.uberfire.experimental.service.registry.impl.ExperimentalFeaturesRegistryImplgetFeaturesRegistry()BooleanisExperimentalEnabled()booleanisFeatureEnabled(String featureId)voidsave(org.uberfire.experimental.service.editor.EditableExperimentalFeature editableFeature)
-
-
-
Field Detail
-
EXPERIMENTAL_FEATURES_PROPERTY_NAME
public static final String EXPERIMENTAL_FEATURES_PROPERTY_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BackendExperimentalFeaturesRegistryServiceImpl
@Inject public BackendExperimentalFeaturesRegistryServiceImpl(org.uberfire.experimental.service.definition.ExperimentalFeatureDefRegistry defRegistry, @Named("global") ExperimentalFeaturesStorage globalStorage)
-
-
Method Detail
-
getFeaturesRegistry
public org.uberfire.experimental.service.registry.impl.ExperimentalFeaturesRegistryImpl getFeaturesRegistry()
- Specified by:
getFeaturesRegistryin interfaceorg.uberfire.experimental.service.ExperimentalFeaturesRegistryService
-
isExperimentalEnabled
public Boolean isExperimentalEnabled()
- Specified by:
isExperimentalEnabledin interfaceorg.uberfire.experimental.service.ExperimentalFeaturesRegistryService
-
isFeatureEnabled
public boolean isFeatureEnabled(String featureId)
- Specified by:
isFeatureEnabledin interfaceorg.uberfire.experimental.service.ExperimentalFeaturesRegistryService
-
save
public void save(org.uberfire.experimental.service.editor.EditableExperimentalFeature editableFeature)
- Specified by:
savein interfaceorg.uberfire.experimental.service.editor.FeaturesEditorService
-
getExperimentalFeaturesSession
public org.uberfire.experimental.service.backend.ExperimentalFeaturesSession getExperimentalFeaturesSession()
- Specified by:
getExperimentalFeaturesSessionin interfaceorg.uberfire.experimental.service.backend.BackendExperimentalFeaturesRegistryService
-
-