public interface ExperimentalFeaturesRegistry
ExperimentalFeature present on the platform| Modifier and Type | Method and Description |
|---|---|
Collection<ExperimentalFeature> |
getAllFeatures()
Returns all the
ExperimentalFeature present on the platform |
Optional<ExperimentalFeature> |
getFeature(String featureId)
Returns the
ExperimentalFeature identified by the given featureID |
boolean |
isFeatureEnabled(String featureId)
Determines if a given feature is enabled or not.
|
boolean isFeatureEnabled(String featureId)
featureId - a String containing the identifier of an existing featureOptional<ExperimentalFeature> getFeature(String featureId)
ExperimentalFeature identified by the given featureIDfeatureId - a String containing the identifier of an existing featureExperimentalFeature instance identified by the featureId if is present on the platform,
null if it doesn't existCollection<ExperimentalFeature> getAllFeatures()
ExperimentalFeature present on the platformExperimentalFeature present on the platformCopyright © 2012–2020 JBoss by Red Hat. All rights reserved.