Class ExperimentalFeaturesSessionImpl
- java.lang.Object
-
- org.uberfire.experimental.service.backend.impl.ExperimentalFeaturesSessionImpl
-
- All Implemented Interfaces:
ExperimentalFeaturesSession
@Portable public class ExperimentalFeaturesSessionImpl extends Object implements ExperimentalFeaturesSession
-
-
Constructor Summary
Constructors Constructor Description ExperimentalFeaturesSessionImpl()ExperimentalFeaturesSessionImpl(boolean experimentalFeaturesEnabled, ExperimentalFeaturesRegistryImpl registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExperimentalFeaturesRegistryImplgetFeaturesRegistry()Retrieves theExperimentalFeaturesRegistrybased on the user settings.booleanisExperimentalFeaturesEnabled()Determines if the experimental framework is enabled or notvoidsetExperimentalFeaturesEnabled(boolean experimentalFeaturesEnabled)voidsetRegistry(ExperimentalFeaturesRegistryImpl registry)
-
-
-
Constructor Detail
-
ExperimentalFeaturesSessionImpl
public ExperimentalFeaturesSessionImpl()
-
ExperimentalFeaturesSessionImpl
public ExperimentalFeaturesSessionImpl(boolean experimentalFeaturesEnabled, ExperimentalFeaturesRegistryImpl registry)
-
-
Method Detail
-
getFeaturesRegistry
public ExperimentalFeaturesRegistryImpl getFeaturesRegistry()
Description copied from interface:ExperimentalFeaturesSessionRetrieves theExperimentalFeaturesRegistrybased on the user settings.- Specified by:
getFeaturesRegistryin interfaceExperimentalFeaturesSession- Returns:
- The
ExperimentalFeaturesRegistryfor the current user
-
setRegistry
public void setRegistry(ExperimentalFeaturesRegistryImpl registry)
-
setExperimentalFeaturesEnabled
public void setExperimentalFeaturesEnabled(boolean experimentalFeaturesEnabled)
-
isExperimentalFeaturesEnabled
public boolean isExperimentalFeaturesEnabled()
Description copied from interface:ExperimentalFeaturesSessionDetermines if the experimental framework is enabled or not- Specified by:
isExperimentalFeaturesEnabledin interfaceExperimentalFeaturesSession- Returns:
- true if it is enabled, false if not
-
-