public class

BundledPluginLoader

extends DirectoryPluginLoader
java.lang.Object
   ↳ com.atlassian.plugin.loaders.ScanningPluginLoader
     ↳ com.atlassian.plugin.loaders.DirectoryPluginLoader
       ↳ com.atlassian.plugin.loaders.BundledPluginLoader

Class Overview

Plugin loader that unzips plugins from a zip file into a local directory, and ensures that directory only contains plugins from that zip file. It also treats all plugins loaded from the directory as bundled plugins, meaning they can can be upgraded, but not deleted.

Summary

[Expand]
Inherited Fields
From class com.atlassian.plugin.loaders.ScanningPluginLoader
Public Constructors
BundledPluginLoader(URL zipUrl, File pluginPath, List<PluginFactory> pluginFactories, PluginEventManager eventManager)
Protected Methods
Plugin postProcess(Plugin plugin)
Template method that can be used by a specific PluginLoader to add information to a Plugin after it has been loaded.
[Expand]
Inherited Methods
From class com.atlassian.plugin.loaders.ScanningPluginLoader
From class java.lang.Object
From interface com.atlassian.plugin.loaders.DynamicPluginLoader
From interface com.atlassian.plugin.loaders.PluginLoader

Public Constructors

public BundledPluginLoader (URL zipUrl, File pluginPath, List<PluginFactory> pluginFactories, PluginEventManager eventManager)

Protected Methods

protected Plugin postProcess (Plugin plugin)

Template method that can be used by a specific PluginLoader to add information to a Plugin after it has been loaded.

Parameters
plugin a plugin that has been loaded