|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of Plugin in com.atlassian.plugin |
|---|
| Methods in com.atlassian.plugin that return Plugin | |
|---|---|
Plugin |
DefaultPluginManager.getEnabledPlugin(java.lang.String pluginKey)
|
Plugin |
PluginAccessor.getEnabledPlugin(java.lang.String pluginKey)
Retrieve a given plugin if it is enabled. |
Plugin |
ModuleDescriptor.getPlugin()
|
Plugin |
DefaultPluginManager.getPlugin(java.lang.String key)
|
Plugin |
PluginAccessor.getPlugin(java.lang.String key)
Retrieve a given plugin (whether enabled or not). |
| Methods in com.atlassian.plugin that return types with arguments of type Plugin | |
|---|---|
java.util.Collection<Plugin> |
DefaultPluginManager.getEnabledPlugins()
|
java.util.Collection<Plugin> |
PluginAccessor.getEnabledPlugins()
Get all of the currently enabled plugins. |
java.util.Collection<Plugin> |
DefaultPluginManager.getPlugins()
|
java.util.Collection<Plugin> |
PluginAccessor.getPlugins()
Gets all of the currently installed plugins. |
java.util.Collection<Plugin> |
DefaultPluginManager.getPlugins(PluginPredicate pluginPredicate)
|
java.util.Collection<Plugin> |
PluginAccessor.getPlugins(PluginPredicate pluginPredicate)
Gets all installed plugins that match the given predicate. |
| Methods in com.atlassian.plugin with parameters of type Plugin | |
|---|---|
protected void |
DefaultPluginManager.addPlugin(PluginLoader loader,
Plugin plugin)
Deprecated. Since 2.0.2, use #addPlugins(PluginLoader,Collection instead |
void |
ModuleDescriptor.destroy(Plugin plugin)
Override this if your plugin needs to clean up when it's been removed. |
protected void |
DefaultPluginManager.disablePluginState(Plugin plugin,
PluginStateStore stateStore)
|
protected void |
DefaultPluginManager.enablePluginState(Plugin plugin,
PluginStateStore stateStore)
|
protected java.util.List<java.lang.String> |
DefaultPluginManager.getEnabledStateAwareModuleKeys(Plugin plugin)
|
java.util.Map<java.lang.String,java.lang.Boolean> |
PluginManagerState.getPluginStateMap(Plugin plugin)
|
void |
ModuleDescriptor.init(Plugin plugin,
org.dom4j.Element element)
Initialise a module given it's parent plugin and the XML element representing the module. |
boolean |
PluginManagerState.isEnabled(Plugin plugin)
Whether or not a plugin is enabled, calculated from it's current state AND default state. |
protected void |
DefaultPluginManager.notifyPluginDisabled(Plugin plugin)
|
protected void |
DefaultPluginManager.notifyPluginEnabled(Plugin plugin)
Called on all clustered application nodes, rather than DefaultPluginManager.enablePlugin(String)
to just update the local state, state aware modules and loaders, but not affect the
global plugin state. |
protected void |
DefaultPluginManager.notifyUninstallPlugin(Plugin plugin)
|
protected void |
DefaultPluginManager.removeStateFromStore(PluginStateStore stateStore,
Plugin plugin)
|
void |
DefaultPluginManager.uninstall(Plugin plugin)
|
void |
PluginController.uninstall(Plugin plugin)
Uninstall the plugin, disabling it first. |
protected void |
DefaultPluginManager.unloadPlugin(Plugin plugin)
Unload a plugin. |
protected void |
DefaultPluginManager.updatePlugin(Plugin oldPlugin,
Plugin newPlugin)
Replace an already loaded plugin with another version. |
| Method parameters in com.atlassian.plugin with type arguments of type Plugin | |
|---|---|
protected void |
DefaultPluginManager.addPlugins(PluginLoader loader,
java.util.Collection<Plugin> pluginsToAdd)
Update the local plugin state and enable state aware modules. |
| Uses of Plugin in com.atlassian.plugin.classloader |
|---|
| Methods in com.atlassian.plugin.classloader with parameters of type Plugin | |
|---|---|
void |
PluginsClassLoader.notifyUninstallPlugin(Plugin plugin)
|
| Uses of Plugin in com.atlassian.plugin.descriptors |
|---|
| Fields in com.atlassian.plugin.descriptors declared as Plugin | |
|---|---|
protected Plugin |
AbstractModuleDescriptor.plugin
|
| Methods in com.atlassian.plugin.descriptors that return Plugin | |
|---|---|
Plugin |
AbstractModuleDescriptor.getPlugin()
|
| Methods in com.atlassian.plugin.descriptors with parameters of type Plugin | |
|---|---|
static UnloadableModuleDescriptor |
UnloadableModuleDescriptorFactory.createUnloadableModuleDescriptor(Plugin plugin,
org.dom4j.Element element,
java.lang.Throwable e,
ModuleDescriptorFactory moduleDescriptorFactory)
Creates a new UnloadableModuleDescriptor, for when a problem occurs during the construction of the ModuleDescriptor itself. |
static UnloadableModuleDescriptor |
UnloadableModuleDescriptorFactory.createUnloadableModuleDescriptor(Plugin plugin,
ModuleDescriptor descriptor,
java.lang.Throwable e)
Creates a new UnloadableModuleDescriptor based on an existing ModuleDescriptor, descriptor This method uses the information in an existing descriptor to construct a new UnloadableModuleDescriptor. |
static UnrecognisedModuleDescriptor |
UnrecognisedModuleDescriptorFactory.createUnrecognisedModuleDescriptor(Plugin plugin,
org.dom4j.Element element,
java.lang.Throwable e,
ModuleDescriptorFactory moduleDescriptorFactory)
Creates a new UnrecognisedModuleDescriptor, for when a problem occurs during the retrieval of the ModuleDescriptor itself. |
void |
AbstractModuleDescriptor.destroy(Plugin plugin)
Override this if your plugin needs to clean up when it's been removed. |
void |
AbstractModuleDescriptor.init(Plugin plugin,
org.dom4j.Element element)
|
void |
UnrecognisedModuleDescriptor.init(Plugin plugin,
org.dom4j.Element element)
|
protected void |
AbstractModuleDescriptor.loadClass(Plugin plugin,
org.dom4j.Element element)
Deprecated. Since 2.1.0, use AbstractModuleDescriptor.loadClass(Plugin,String) instead |
protected void |
UnloadableModuleDescriptor.loadClass(Plugin plugin,
org.dom4j.Element element)
|
protected void |
AbstractModuleDescriptor.loadClass(Plugin plugin,
java.lang.String clazz)
Override this for module descriptors which don't expect to be able to load a class successfully |
void |
AbstractModuleDescriptor.setPlugin(Plugin plugin)
Sets the plugin for the ModuleDescriptor |
| Uses of Plugin in com.atlassian.plugin.event.events |
|---|
| Methods in com.atlassian.plugin.event.events that return Plugin | |
|---|---|
Plugin |
PluginEnabledEvent.getPlugin()
|
Plugin |
PluginDisabledEvent.getPlugin()
|
| Constructors in com.atlassian.plugin.event.events with parameters of type Plugin | |
|---|---|
PluginDisabledEvent(Plugin plugin)
|
|
PluginEnabledEvent(Plugin plugin)
|
|
| Uses of Plugin in com.atlassian.plugin.factories |
|---|
| Methods in com.atlassian.plugin.factories that return Plugin | |
|---|---|
Plugin |
XmlDynamicPluginFactory.create(DeploymentUnit deploymentUnit,
ModuleDescriptorFactory moduleDescriptorFactory)
Deploys the plugin XML |
Plugin |
PluginFactory.create(DeploymentUnit deploymentUnit,
ModuleDescriptorFactory moduleDescriptorFactory)
Deploys the deployment unit by instantiating the plugin and configuring it. |
Plugin |
LegacyDynamicPluginFactory.create(DeploymentUnit deploymentUnit,
ModuleDescriptorFactory moduleDescriptorFactory)
Deploys the plugin jar |
| Uses of Plugin in com.atlassian.plugin.impl |
|---|
| Subinterfaces of Plugin in com.atlassian.plugin.impl | |
|---|---|
interface |
DynamicPlugin
|
| Classes in com.atlassian.plugin.impl that implement Plugin | |
|---|---|
class |
AbstractPlugin
|
class |
DefaultDynamicPlugin
A dynamically loaded plugin is loaded through the plugin class loader. |
class |
StaticPlugin
|
class |
UnloadablePlugin
This class represents a Plugin that was not able to be loaded by the PluginManager. |
class |
XmlDynamicPlugin
A dynamic XML plugin that consists of the Atlassian plugin descriptor |
| Methods in com.atlassian.plugin.impl with parameters of type Plugin | |
|---|---|
int |
AbstractPlugin.compareTo(Plugin otherPlugin)
Plugins with the same key are compared by version number, using VersionStringComparator. |
static UnloadablePlugin |
UnloadablePluginFactory.createUnloadablePlugin(Plugin oldPlugin)
Creates an UnloadablePlugin instance from a given plugin, when there were problems loading the modules or the plugin itself |
static UnloadablePlugin |
UnloadablePluginFactory.createUnloadablePlugin(Plugin oldPlugin,
UnloadableModuleDescriptor unloadableDescriptor)
Creates an UnloadablePlugin instance from a given plugin. |
| Uses of Plugin in com.atlassian.plugin.loaders |
|---|
| Fields in com.atlassian.plugin.loaders with type parameters of type Plugin | |
|---|---|
protected java.util.Map<DeploymentUnit,Plugin> |
ScanningPluginLoader.plugins
|
protected java.util.Collection<Plugin> |
SinglePluginLoader.plugins
|
| Methods in com.atlassian.plugin.loaders that return Plugin | |
|---|---|
protected Plugin |
ScanningPluginLoader.deployPluginFromUnit(DeploymentUnit deploymentUnit,
ModuleDescriptorFactory moduleDescriptorFactory)
|
protected Plugin |
BundledPluginLoader.deployPluginFromUnit(DeploymentUnit deploymentUnit,
ModuleDescriptorFactory moduleDescriptorFactory)
Just like the ScanningPluginLoader.deployPluginFromUnit(DeploymentUnit,ModuleDescriptorFactory) method
but changes the plugin to not be deletable |
protected Plugin |
SinglePluginLoader.loadPlugin(ModuleDescriptorFactory moduleDescriptorFactory)
|
| Methods in com.atlassian.plugin.loaders that return types with arguments of type Plugin | |
|---|---|
java.util.Collection<Plugin> |
ScanningPluginLoader.addFoundPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
|
java.util.Collection<Plugin> |
ClassPathPluginLoader.addFoundPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
|
java.util.Collection<Plugin> |
SinglePluginLoader.addFoundPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
|
java.util.Collection<Plugin> |
PluginLoader.addFoundPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
|
java.util.Collection<Plugin> |
ScanningPluginLoader.loadAllPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
|
java.util.Collection<Plugin> |
ClassPathPluginLoader.loadAllPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
|
java.util.Collection<Plugin> |
SinglePluginLoader.loadAllPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
|
java.util.Collection<Plugin> |
PluginLoader.loadAllPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
|
| Methods in com.atlassian.plugin.loaders with parameters of type Plugin | |
|---|---|
void |
ScanningPluginLoader.removePlugin(Plugin plugin)
|
void |
ClassPathPluginLoader.removePlugin(Plugin plugin)
|
void |
SinglePluginLoader.removePlugin(Plugin plugin)
|
void |
PluginLoader.removePlugin(Plugin plugin)
Remove a specific plugin |
| Uses of Plugin in com.atlassian.plugin.parsers |
|---|
| Methods in com.atlassian.plugin.parsers that return Plugin | |
|---|---|
Plugin |
DescriptorParser.configurePlugin(ModuleDescriptorFactory moduleDescriptorFactory,
Plugin plugin)
Sets the configuration on the plugin argument to match the configuration specified in the plugin descriptor (typically an XML file). |
Plugin |
XmlDescriptorParser.configurePlugin(ModuleDescriptorFactory moduleDescriptorFactory,
Plugin plugin)
|
| Methods in com.atlassian.plugin.parsers with parameters of type Plugin | |
|---|---|
Plugin |
DescriptorParser.configurePlugin(ModuleDescriptorFactory moduleDescriptorFactory,
Plugin plugin)
Sets the configuration on the plugin argument to match the configuration specified in the plugin descriptor (typically an XML file). |
Plugin |
XmlDescriptorParser.configurePlugin(ModuleDescriptorFactory moduleDescriptorFactory,
Plugin plugin)
|
protected ModuleDescriptor |
XmlDescriptorParser.createModuleDescriptor(Plugin plugin,
org.dom4j.Element element,
ModuleDescriptorFactory moduleDescriptorFactory)
|
| Uses of Plugin in com.atlassian.plugin.predicate |
|---|
| Methods in com.atlassian.plugin.predicate with parameters of type Plugin | |
|---|---|
boolean |
PluginPredicate.matches(Plugin plugin)
Will match a plugin according to implementation rules. |
boolean |
EnabledPluginPredicate.matches(Plugin plugin)
|
| Uses of Plugin in com.atlassian.plugin.util |
|---|
| Methods in com.atlassian.plugin.util with parameters of type Plugin | |
|---|---|
static boolean |
PluginUtils.doesPluginRequireRestart(Plugin plugin)
Determines if a plugin requires a restart after being installed at runtime. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||