|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of Plugin in com.atlassian.plugin |
|---|
| Fields in com.atlassian.plugin with type parameters of type Plugin | |
|---|---|
static java.util.Comparator<Plugin> |
Plugin.NAME_COMPARATOR
Deprecated. since 2.2.0. This comparator only takes into account the plugin name and assumes it is not null, yet a) that constraint is not validated anywhere in plugin loading and b) the plugin could have used the i18n name, and only the application can resolve that to a name useful for comparisons. |
| Methods in com.atlassian.plugin that return Plugin | |
|---|---|
Plugin |
PluginAccessor.getEnabledPlugin(java.lang.String pluginKey)
Retrieve a given plugin if it is enabled. |
Plugin |
ModuleDescriptor.getPlugin()
|
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> |
PluginAccessor.getEnabledPlugins()
Get all of the currently enabled plugins. |
java.util.Collection<Plugin> |
PluginAccessor.getPlugins()
Gets all of the currently installed plugins. |
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 | |
|---|---|
void |
ModuleDescriptor.destroy(Plugin plugin)
Override this if your plugin needs to clean up when it's been removed. |
void |
ModuleDescriptor.init(Plugin plugin,
org.dom4j.Element element)
Initialise a module given it's parent plugin and the XML element representing the module. |
void |
PluginController.uninstall(Plugin plugin)
Uninstall the plugin, disabling it first. |
| 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)
|
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 |
PluginUpgradedEvent.getPlugin()
|
Plugin |
PluginEnabledEvent.getPlugin()
|
Plugin |
PluginRefreshedEvent.getPlugin()
|
Plugin |
PluginDisabledEvent.getPlugin()
|
| Constructors in com.atlassian.plugin.event.events with parameters of type Plugin | |
|---|---|
PluginDisabledEvent(Plugin plugin)
|
|
PluginEnabledEvent(Plugin plugin)
|
|
PluginRefreshedEvent(Plugin plugin)
|
|
PluginUpgradedEvent(Plugin plugin)
Constructs the event |
|
| Uses of Plugin in com.atlassian.plugin.factories |
|---|
| Methods in com.atlassian.plugin.factories that return Plugin | |
|---|---|
Plugin |
XmlDynamicPluginFactory.create(DeploymentUnit deploymentUnit,
ModuleDescriptorFactory moduleDescriptorFactory)
Deprecated. Since 2.2.0, use XmlDynamicPluginFactory.create(PluginArtifact,ModuleDescriptorFactory) instead |
Plugin |
PluginFactory.create(DeploymentUnit deploymentUnit,
ModuleDescriptorFactory moduleDescriptorFactory)
Deprecated. Since 2.2.0, use PluginFactory.create(PluginArtifact,ModuleDescriptorFactory) instead |
Plugin |
LegacyDynamicPluginFactory.create(DeploymentUnit deploymentUnit,
ModuleDescriptorFactory moduleDescriptorFactory)
Deprecated. Since 2.2.0, use LegacyDynamicPluginFactory.create(PluginArtifact,ModuleDescriptorFactory) instead |
Plugin |
XmlDynamicPluginFactory.create(PluginArtifact pluginArtifact,
ModuleDescriptorFactory moduleDescriptorFactory)
Deploys the plugin artifact |
Plugin |
PluginFactory.create(PluginArtifact pluginArtifact,
ModuleDescriptorFactory moduleDescriptorFactory)
Deploys the plugin artifact by instantiating the plugin and configuring it. |
Plugin |
LegacyDynamicPluginFactory.create(PluginArtifact pluginArtifact,
ModuleDescriptorFactory moduleDescriptorFactory)
Deploys the plugin artifact |
protected Plugin |
LegacyDynamicPluginFactory.createPlugin(DeploymentUnit deploymentUnit,
PluginClassLoader loader)
Deprecated. Since 2.2.0, use LegacyDynamicPluginFactory.createPlugin(PluginArtifact,PluginClassLoader) instead |
protected Plugin |
LegacyDynamicPluginFactory.createPlugin(PluginArtifact pluginArtifact,
PluginClassLoader loader)
Creates the plugin. |
| Uses of Plugin in com.atlassian.plugin.impl |
|---|
| Subinterfaces of Plugin in com.atlassian.plugin.impl | |
|---|---|
interface |
DynamicPlugin
Deprecated. since 2.2.0, use a wrapping plugin based on AbstractDelegatingPlugin instead |
| Classes in com.atlassian.plugin.impl that implement Plugin | |
|---|---|
class |
AbstractDelegatingPlugin
Delegating plugin that supports easy wrapping |
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 that return Plugin | |
|---|---|
Plugin |
AbstractDelegatingPlugin.getDelegate()
|
| Methods in com.atlassian.plugin.impl with parameters of type Plugin | |
|---|---|
int |
AbstractPlugin.compareTo(Plugin otherPlugin)
Compares this Plugin to another Plugin for order. |
int |
AbstractDelegatingPlugin.compareTo(Plugin o)
|
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. |
| Constructors in com.atlassian.plugin.impl with parameters of type Plugin | |
|---|---|
AbstractDelegatingPlugin(Plugin delegate)
|
|
| 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 |
SinglePluginLoader.loadPlugin(ModuleDescriptorFactory moduleDescriptorFactory)
|
protected Plugin |
ScanningPluginLoader.postProcess(Plugin plugin)
Template method that can be used by a specific PluginLoader to
add information to a Plugin after it has been loaded. |
protected Plugin |
BundledPluginLoader.postProcess(Plugin plugin)
|
| 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 | |
|---|---|
protected Plugin |
ScanningPluginLoader.postProcess(Plugin plugin)
Template method that can be used by a specific PluginLoader to
add information to a Plugin after it has been loaded. |
protected Plugin |
BundledPluginLoader.postProcess(Plugin 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.manager |
|---|
| Methods in com.atlassian.plugin.manager that return Plugin | |
|---|---|
Plugin |
DefaultPluginManager.getEnabledPlugin(java.lang.String pluginKey)
|
Plugin |
DefaultPluginManager.getPlugin(java.lang.String key)
|
| Methods in com.atlassian.plugin.manager that return types with arguments of type Plugin | |
|---|---|
java.util.Collection<Plugin> |
DefaultPluginManager.getEnabledPlugins()
|
java.util.Collection<Plugin> |
DefaultPluginManager.getPlugins()
|
java.util.Collection<Plugin> |
DefaultPluginManager.getPlugins(PluginPredicate pluginPredicate)
|
| Methods in com.atlassian.plugin.manager with parameters of type Plugin | |
|---|---|
protected void |
DefaultPluginManager.addPlugin(PluginLoader loader,
Plugin plugin)
Deprecated. Since 2.0.2, use #addPlugins(PluginLoader,Collection instead |
protected void |
DefaultPluginManager.disablePluginState(Plugin plugin,
PluginPersistentStateStore stateStore)
|
protected void |
DefaultPluginManager.enablePluginState(Plugin plugin,
PluginPersistentStateStore stateStore)
|
java.util.Map<java.lang.String,java.lang.Boolean> |
PluginPersistentState.getPluginStateMap(Plugin plugin)
Get state map of the given plugin and its modules |
java.util.Map<java.lang.String,java.lang.Boolean> |
DefaultPluginPersistentState.getPluginStateMap(Plugin plugin)
|
boolean |
PluginPersistentState.isEnabled(Plugin plugin)
Whether or not a plugin is enabled, calculated from it's current state AND default state. |
boolean |
DefaultPluginPersistentState.isEnabled(Plugin plugin)
|
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(PluginPersistentStateStore stateStore,
Plugin plugin)
|
void |
DefaultPluginPersistentState.setEnabled(Plugin plugin,
boolean isEnabled)
|
void |
DefaultPluginManager.uninstall(Plugin plugin)
|
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.manager with type arguments of type Plugin | |
|---|---|
protected void |
DefaultPluginManager.addPlugins(PluginLoader loader,
java.util.Collection<Plugin> pluginsToInstall)
Update the local plugin state and enable state aware modules. |
| Uses of Plugin in com.atlassian.plugin.osgi.factory |
|---|
| Classes in com.atlassian.plugin.osgi.factory that implement Plugin | |
|---|---|
class |
OsgiBundlePlugin
Plugin that wraps an OSGi bundle that has no plugin descriptor. |
class |
OsgiPlugin
Plugin that wraps an OSGi bundle that does contain a plugin descriptor. |
| Methods in com.atlassian.plugin.osgi.factory that return Plugin | |
|---|---|
Plugin |
OsgiBundleFactory.create(DeploymentUnit deploymentUnit,
ModuleDescriptorFactory moduleDescriptorFactory)
Deprecated. Since 2.2.0, use OsgiBundleFactory.create(PluginArtifact,ModuleDescriptorFactory) instead |
Plugin |
UnloadableStaticPluginFactory.create(DeploymentUnit deploymentUnit,
ModuleDescriptorFactory moduleDescriptorFactory)
Deprecated. Since 2.2.0, use UnloadableStaticPluginFactory.create(PluginArtifact,ModuleDescriptorFactory) instead |
Plugin |
OsgiPluginFactory.create(DeploymentUnit deploymentUnit,
ModuleDescriptorFactory moduleDescriptorFactory)
Deprecated. Since 2.2.0, use OsgiPluginFactory.create(PluginArtifact,ModuleDescriptorFactory) instead |
Plugin |
OsgiBundleFactory.create(PluginArtifact pluginArtifact,
ModuleDescriptorFactory moduleDescriptorFactory)
Deploys the plugin artifact |
Plugin |
UnloadableStaticPluginFactory.create(PluginArtifact pluginArtifact,
ModuleDescriptorFactory moduleDescriptorFactory)
Creates an unloadable plugin |
Plugin |
OsgiPluginFactory.create(PluginArtifact pluginArtifact,
ModuleDescriptorFactory moduleDescriptorFactory)
Deploys the plugin artifact |
| Methods in com.atlassian.plugin.osgi.factory with parameters of type Plugin | |
|---|---|
protected ModuleDescriptor<?> |
OsgiPluginXmlDescriptorParser.createModuleDescriptor(Plugin plugin,
org.dom4j.Element element,
ModuleDescriptorFactory moduleDescriptorFactory)
Passes module descriptor elements back to the OsgiPlugin |
| 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.servlet |
|---|
| Constructors in com.atlassian.plugin.servlet with parameters of type Plugin | |
|---|---|
DownloadableClasspathResource(Plugin plugin,
ResourceLocation resourceLocation,
java.lang.String extraPath)
|
|
DownloadableWebResource(Plugin plugin,
ResourceLocation resourceLocation,
java.lang.String extraPath,
javax.servlet.ServletContext servletContext)
|
|
PluginServletContextWrapper(Plugin plugin,
javax.servlet.ServletContext context,
java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Object> attributes,
java.util.Map<java.lang.String,java.lang.String> initParams)
|
|
| Uses of Plugin in com.atlassian.plugin.servlet.descriptors |
|---|
| Methods in com.atlassian.plugin.servlet.descriptors with parameters of type Plugin | |
|---|---|
void |
ServletFilterModuleDescriptor.init(Plugin plugin,
org.dom4j.Element element)
|
void |
BaseServletModuleDescriptor.init(Plugin plugin,
org.dom4j.Element element)
|
void |
ServletContextParamModuleDescriptor.init(Plugin plugin,
org.dom4j.Element element)
|
| 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. |
| Uses of Plugin in com.atlassian.plugin.web |
|---|
| Methods in com.atlassian.plugin.web with parameters of type Plugin | |
|---|---|
Condition |
WebFragmentHelper.loadCondition(java.lang.String className,
Plugin plugin)
Creates a condition instance. |
ContextProvider |
WebFragmentHelper.loadContextProvider(java.lang.String className,
Plugin plugin)
Creates a context provider instance. |
| Uses of Plugin in com.atlassian.plugin.web.descriptors |
|---|
| Methods in com.atlassian.plugin.web.descriptors that return Plugin | |
|---|---|
Plugin |
DefaultAbstractWebFragmentModuleDescriptor.getPlugin()
|
| Methods in com.atlassian.plugin.web.descriptors with parameters of type Plugin | |
|---|---|
void |
DefaultAbstractWebFragmentModuleDescriptor.destroy(Plugin plugin)
|
void |
DefaultWebItemModuleDescriptor.init(Plugin plugin,
org.dom4j.Element element)
|
void |
AbstractWebFragmentModuleDescriptor.init(Plugin plugin,
org.dom4j.Element element)
|
void |
DefaultWebSectionModuleDescriptor.init(Plugin plugin,
org.dom4j.Element element)
|
void |
DefaultAbstractWebFragmentModuleDescriptor.init(Plugin plugin,
org.dom4j.Element element)
|
| Uses of Plugin in com.atlassian.plugin.webresource |
|---|
| Methods in com.atlassian.plugin.webresource with parameters of type Plugin | |
|---|---|
void |
WebResourceModuleDescriptor.init(Plugin plugin,
org.dom4j.Element element)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||