com.atlassian.confluence.setup.settings
Class DefaultFeatureService
java.lang.Object
com.atlassian.confluence.setup.settings.DefaultFeatureService
- All Implemented Interfaces:
- FeatureService
public class DefaultFeatureService
- extends Object
- implements FeatureService
- Since:
- 5.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultFeatureService
public DefaultFeatureService(com.atlassian.plugin.PluginAccessor pluginAccessor)
getRegisteredFeatures
public Set<String> getRegisteredFeatures()
- Specified by:
getRegisteredFeatures
in interface FeatureService
- Returns:
- a collection of features known to the system.
verifyFeature
public void verifyFeature(String featureKey)
throws UnknownFeatureException
- Description copied from interface:
FeatureService
- Verify that a featureKey is registered
- Specified by:
verifyFeature
in interface FeatureService
- Throws:
UnknownFeatureException
verifyFeatures
public void verifyFeatures(Set<String> featureKeys)
throws UnknownFeatureException
- Description copied from interface:
FeatureService
- Verify that all keys in a set are registered. Used temporarily for auditing existing use of Dark Features.
- Specified by:
verifyFeatures
in interface FeatureService
- Throws:
UnknownFeatureException
pluginModuleEnabled
public void pluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent event)
pluginModuleDisabled
public void pluginModuleDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent event)