com.atlassian.confluence.setup.settings
Class DefaultFeatureService

java.lang.Object
  extended by com.atlassian.confluence.setup.settings.DefaultFeatureService
All Implemented Interfaces:
FeatureService

public class DefaultFeatureService
extends Object
implements FeatureService

Since:
5.3

Constructor Summary
DefaultFeatureService(com.atlassian.plugin.PluginAccessor pluginAccessor)
           
 
Method Summary
 Set<String> getRegisteredFeatures()
           
 void pluginModuleDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent event)
           
 void pluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent event)
           
 void verifyFeature(String featureKey)
          Verify that a featureKey is registered
 void verifyFeatures(Set<String> featureKeys)
          Verify that all keys in a set are registered.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFeatureService

public DefaultFeatureService(com.atlassian.plugin.PluginAccessor pluginAccessor)
Method Detail

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)


Copyright © 2003–2015 Atlassian. All rights reserved.