com.atlassian.gadgets.plugins
Interface PluginGadgetSpecEventListener

All Known Implementing Classes:
PluginExternalGadgetSpecDirectoryEntryProvider, PublishedGadgetSpecStoreImpl

public interface PluginGadgetSpecEventListener

A listener for gadget spec modules that are enabled and disabled in plugins.


Method Summary
 void pluginGadgetSpecDisabled(PluginGadgetSpec pluginGadgetSpec)
          Called when a gadget spec is disabled from a plugin.
 void pluginGadgetSpecEnabled(PluginGadgetSpec pluginGadgetSpec)
          Called when a gadget spec is enabled from a plugin.
 

Method Detail

pluginGadgetSpecEnabled

void pluginGadgetSpecEnabled(PluginGadgetSpec pluginGadgetSpec)
Called when a gadget spec is enabled from a plugin.

Parameters:
pluginGadgetSpec - the gadget spec that was enabled. Must not be null, or a NullPointerException will be thrown.
Throws:
NullPointerException - if pluginGadgetSpec is null

pluginGadgetSpecDisabled

void pluginGadgetSpecDisabled(PluginGadgetSpec pluginGadgetSpec)
Called when a gadget spec is disabled from a plugin.

Parameters:
pluginGadgetSpec - the gadget spec that was enabled. Must not be null, or a NullPointerException will be thrown.
Throws:
NullPointerException - if pluginGadgetSpec is null


Copyright © 2009 Atlassian. All Rights Reserved.