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 FeatureService
public void verifyFeature(String featureKey) throws UnknownFeatureException
FeatureService
verifyFeature
in interface FeatureService
UnknownFeatureException
public void verifyFeatures(Set<String> featureKeys) throws UnknownFeatureException
FeatureService
verifyFeatures
in interface FeatureService
UnknownFeatureException
public void pluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent event)
public void pluginModuleDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent event)
Copyright © 2003–2017 Atlassian. All rights reserved.