Package com.atlassian.gadgets.plugins
Interface PluginGadgetSpecEventListener
public interface PluginGadgetSpecEventListener
A listener for gadget spec modules that are enabled and disabled in plugins.
-
Method Summary
Modifier and TypeMethodDescriptionvoidpluginGadgetSpecDisabled(PluginGadgetSpec pluginGadgetSpec) Called when a gadget spec is disabled from a plugin.voidpluginGadgetSpecEnabled(PluginGadgetSpec pluginGadgetSpec) Called when a gadget spec is enabled from a plugin.
-
Method Details
-
pluginGadgetSpecEnabled
Called when a gadget spec is enabled from a plugin.- Parameters:
pluginGadgetSpec- the gadget spec that was enabled. Must not benull, or aNullPointerExceptionwill be thrown.- Throws:
NullPointerException- ifpluginGadgetSpecisnull
-
pluginGadgetSpecDisabled
Called when a gadget spec is disabled from a plugin.- Parameters:
pluginGadgetSpec- the gadget spec that was enabled. Must not benull, or aNullPointerExceptionwill be thrown.- Throws:
NullPointerException- ifpluginGadgetSpecisnull
-