| Package | Description |
|---|---|
| com.atlassian.plugin | |
| com.atlassian.plugin.event.events |
This package contains events that will be fired by the framework.
|
| com.atlassian.plugin.factories | |
| com.atlassian.plugin.module | |
| com.atlassian.plugin.predicate |
| Modifier and Type | Class and Description |
|---|---|
class |
DummyPlugin
Dummy plugin implementation that returns java default values and does nothing.
|
| Modifier and Type | Field and Description |
|---|---|
static 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.
|
| Modifier and Type | Method and Description |
|---|---|
static Plugin |
Permissions.addPermission(Plugin plugin,
String permission,
InstallationMode mode) |
Plugin |
PluginRegistry.ReadOnly.get(String key) |
Plugin |
PluginAccessor.getEnabledPlugin(String pluginKey)
Retrieve a given plugin if it is enabled.
|
Plugin |
ModuleDescriptor.getPlugin() |
Plugin |
PluginAccessor.getPlugin(String key)
Retrieve a given plugin (whether enabled or not).
|
Plugin |
PluginRegistry.ReadWrite.remove(String key) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Plugin> |
PluginRegistry.ReadOnly.getAll() |
Collection<Plugin> |
PluginAccessor.getEnabledPlugins()
Get all of the currently enabled plugins.
|
Collection<Plugin> |
PluginAccessor.getPlugins()
Gets all of the currently installed plugins.
|
Collection<Plugin> |
PluginAccessor.getPlugins(PluginPredicate pluginPredicate)
Gets all installed plugins that match the given predicate.
|
| Modifier and Type | Method and Description |
|---|---|
ModuleDescriptor<?> |
PluginController.addDynamicModule(Plugin plugin,
org.dom4j.Element module)
Add a new module described by
element to the plugin specified. |
static Plugin |
Permissions.addPermission(Plugin plugin,
String permission,
InstallationMode mode) |
int |
DummyPlugin.compareTo(Plugin o) |
void |
ModuleDescriptor.destroy(Plugin plugin)
Deprecated.
The plugin parameter is redundant. Override
ModuleDescriptor.destroy(). |
static Date |
Plugin.EnabledMetricsSource.Default.getDateEnabled(Plugin plugin)
Forwards to
getDateEnabled() |
static Date |
Plugin.EnabledMetricsSource.Default.getDateEnabling(Plugin plugin)
Forwards to
getDateEnabling() |
Iterable<ModuleDescriptor<?>> |
PluginAccessor.getDynamicModules(Plugin plugin)
Retrieve all currently registered dynamic modules i.e.
|
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 |
PluginRegistry.ReadWrite.put(Plugin plugin) |
void |
PluginController.removeDynamicModule(Plugin plugin,
ModuleDescriptor<?> module)
Remove a module that was dynamically added to plugin..
|
static void |
Plugin.Resolvable.Default.resolve(Plugin plugin)
Forwards to plugin.resolve().
|
void |
PluginController.uninstall(Plugin plugin)
Uninstall the plugin, disabling it first.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
PluginController.uninstallPlugins(Collection<Plugin> plugins)
Uninstall multiple plugin, disabling it first.
|
| Modifier and Type | Method and Description |
|---|---|
Plugin |
PluginEvent.getPlugin() |
| Modifier and Type | Method and Description |
|---|---|
Set<Plugin> |
PluginDependentsChangedEvent.getCycled()
Plugins which had their state changed from enabled to disabled to enabled
|
Set<Plugin> |
PluginDependentsChangedEvent.getDisabled()
Plugins which had their state changed from enabled to disabled
|
| Constructor and Description |
|---|
BeforePluginDisabledEvent(Plugin plugin)
Deprecated.
|
PluginDependentsChangedEvent(Plugin plugin,
PluginState state,
Set<Plugin> disabled,
Set<Plugin> cycled) |
PluginDisabledEvent(Plugin plugin) |
PluginDisablingEvent(Plugin plugin) |
PluginEnabledEvent(Plugin plugin) |
PluginEnablingEvent(Plugin plugin) |
PluginEvent(Plugin plugin) |
PluginInstalledEvent(Plugin plugin) |
PluginInstallingEvent(Plugin plugin) |
PluginRefreshedEvent(Plugin plugin) |
PluginUninstalledEvent(Plugin plugin) |
PluginUninstallingEvent(Plugin plugin) |
PluginUpgradedEvent(Plugin plugin) |
PluginUpgradingEvent(Plugin plugin) |
| Constructor and Description |
|---|
PluginDependentsChangedEvent(Plugin plugin,
PluginState state,
Set<Plugin> disabled,
Set<Plugin> cycled) |
PluginDependentsChangedEvent(Plugin plugin,
PluginState state,
Set<Plugin> disabled,
Set<Plugin> cycled) |
| Modifier and Type | Method and Description |
|---|---|
Plugin |
PluginFactory.create(DeploymentUnit deploymentUnit,
ModuleDescriptorFactory moduleDescriptorFactory)
Deprecated.
Since 2.2.0, use
PluginFactory.create(PluginArtifact, ModuleDescriptorFactory) instead |
Plugin |
PluginFactory.create(PluginArtifact pluginArtifact,
ModuleDescriptorFactory moduleDescriptorFactory)
Deploys the plugin artifact by instantiating the plugin and configuring it.
|
| Modifier and Type | Method and Description |
|---|---|
ModuleDescriptor<?> |
PluginFactory.createModule(Plugin plugin,
org.dom4j.Element module,
ModuleDescriptorFactory moduleDescriptorFactory)
If this factory is capable of loading a plugin of the type passed, attempt to create a module descriptor.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ContainerManagedPlugin
A plugin that is managed by a container
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
PluginPredicate.matches(Plugin plugin)
Will match a plugin according to implementation rules.
|
Copyright © 2018 Atlassian. All rights reserved.