@Portable public class ExperimentalFeaturesSessionImpl extends Object implements ExperimentalFeaturesSession
Constructor and Description |
---|
ExperimentalFeaturesSessionImpl() |
ExperimentalFeaturesSessionImpl(boolean experimentalFeaturesEnabled,
ExperimentalFeaturesRegistryImpl registry) |
Modifier and Type | Method and Description |
---|---|
ExperimentalFeaturesRegistryImpl |
getFeaturesRegistry()
Retrieves the
ExperimentalFeaturesRegistry based on the user settings. |
boolean |
isExperimentalFeaturesEnabled()
Determines if the experimental framework is enabled or not
|
void |
setExperimentalFeaturesEnabled(boolean experimentalFeaturesEnabled) |
void |
setRegistry(ExperimentalFeaturesRegistryImpl registry) |
public ExperimentalFeaturesSessionImpl()
public ExperimentalFeaturesSessionImpl(boolean experimentalFeaturesEnabled, ExperimentalFeaturesRegistryImpl registry)
public ExperimentalFeaturesRegistryImpl getFeaturesRegistry()
ExperimentalFeaturesSession
ExperimentalFeaturesRegistry
based on the user settings.getFeaturesRegistry
in interface ExperimentalFeaturesSession
ExperimentalFeaturesRegistry
for the current userpublic void setRegistry(ExperimentalFeaturesRegistryImpl registry)
public void setExperimentalFeaturesEnabled(boolean experimentalFeaturesEnabled)
public boolean isExperimentalFeaturesEnabled()
ExperimentalFeaturesSession
isExperimentalFeaturesEnabled
in interface ExperimentalFeaturesSession
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.