public class DefaultFeatureService extends Object implements FeatureService
| Constructor and Description | 
|---|
| DefaultFeatureService(com.atlassian.plugin.PluginAccessor pluginAccessor) | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
public DefaultFeatureService(com.atlassian.plugin.PluginAccessor pluginAccessor)
public Set<String> getRegisteredFeatures()
getRegisteredFeatures in interface FeatureServicepublic void verifyFeature(String featureKey) throws UnknownFeatureException
FeatureServiceverifyFeature in interface FeatureServiceUnknownFeatureExceptionpublic void verifyFeatures(Set<String> featureKeys) throws UnknownFeatureException
FeatureServiceverifyFeatures in interface FeatureServiceUnknownFeatureExceptionpublic void pluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent event)
public void pluginModuleDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent event)
Copyright © 2003–2020 Atlassian. All rights reserved.