| Package | Description |
|---|---|
| com.atlassian.plugin | |
| com.atlassian.plugin.factories | |
| com.atlassian.plugin.module |
| Modifier and Type | Method and Description |
|---|---|
static Resources |
Resources.fromXml(org.dom4j.Element element)
Parses the resource descriptors from the provided plugin XML element and
creates a Resources object containing them.
|
ModuleDescriptor<?> |
ModuleDescriptorFactory.getModuleDescriptor(String type) |
InputStream |
PluginArtifact.getResourceAsStream(String name) |
void |
PluginSystemLifecycle.init()
Initialise the plugin system.
|
void |
ModuleDescriptor.init(Plugin plugin,
org.dom4j.Element element)
Initialise a module given it's parent plugin and the XML element
representing the module.
|
Set<String> |
PluginController.installPlugins(PluginArtifact... pluginArtifacts)
Installs multiple plugins and returns the list of plugin keys.
|
int |
PluginController.scanForNewPlugins()
Search all loaders and add any new plugins you find.
|
| Modifier and Type | Method and Description |
|---|---|
String |
PluginFactory.canCreate(PluginArtifact pluginArtifact)
Determines if this factory can handle this artifact.
|
Plugin |
PluginFactory.create(PluginArtifact pluginArtifact,
ModuleDescriptorFactory moduleDescriptorFactory)
Deploys the plugin artifact by instantiating the plugin and configuring it.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ModuleClassNotFoundException
If a module class could not be found
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
LegacyModuleFactory.createModule(String name,
ModuleDescriptor<T> moduleDescriptor) |
<T> T |
ModuleFactory.createModule(String name,
ModuleDescriptor<T> moduleDescriptor)
Creates the module instance.
|
Copyright © 2020 Atlassian. All rights reserved.