Interface FeatureService
-
- All Known Implementing Classes:
PluginModuleFeatureService
public interface FeatureService
Provides registered Features.- Since:
- 5.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Set<String>
getRegisteredFeatures()
default void
verifyFeature(String featureKey)
Verify that a featureKey is registereddefault void
verifyFeatures(Set<String> featureKeys)
Verify that all keys in a set are registered.
-
-
-
Method Detail
-
getRegisteredFeatures
Set<String> getRegisteredFeatures()
- Returns:
- a collection of features known to the system.
-
verifyFeature
default void verifyFeature(String featureKey) throws UnknownFeatureException
Verify that a featureKey is registered- Parameters:
featureKey
-- Throws:
UnknownFeatureException
-
verifyFeatures
default void verifyFeatures(Set<String> featureKeys) throws UnknownFeatureException
Verify that all keys in a set are registered. Used temporarily for auditing existing use of Dark Features.- Parameters:
featureKeys
-- Throws:
UnknownFeatureException
-
-