java.lang.Object | ||
↳ | com.atlassian.plugin.impl.AbstractPlugin | |
↳ | com.atlassian.plugin.osgi.factory.OsgiBundlePlugin |
Plugin that wraps an OSGi bundle that has no plugin descriptor.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.plugin.Plugin
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The date this plugin was loaded into the system.
| |||||||||||
Get the
ModuleDescriptor for a particular key. | |||||||||||
Returns the module descriptors for this plugin
| |||||||||||
Returns the non-localised name of this plugin if defined.
| |||||||||||
Gets the version of the plugins system to handle this plugin
| |||||||||||
This method is deprecated.
No replacement.
| |||||||||||
Get a
List of all the descriptors
. | |||||||||||
Get a list of all
descriptors of a particular
type. | |||||||||||
Get a
ResourceLocation of a particular type and name. | |||||||||||
Whether the plugin is a "system" plugin that shouldn't be made visible to the user.
| |||||||||||
Sets the i18nKey used to get an internationalised name for this plugin.
| |||||||||||
Sets the non-localised name of this plugin.
| |||||||||||
Sets the version of the plugins system
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Perform any internal disabling logic.
| |||||||||||
Perform any internal enabling logic.
| |||||||||||
Perform any internal uninstallation logic.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.plugin.impl.AbstractPlugin
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.plugin.Plugin
| |||||||||||
From interface
com.atlassian.plugin.Resourced
| |||||||||||
From interface
java.lang.Comparable
|
The date this plugin was loaded into the system.
Get the ModuleDescriptor
for a particular key. Returns null if the plugin does not exist.
Note: The getModule()
may throw ClassCastException if the expected type is incorrect.
key | the String complete key of the module, in the form "org.example.plugin:module-key". |
---|
ModuleDescriptor
of the expected type.
Returns the module descriptors for this plugin
Returns the non-localised name of this plugin if defined.
This corresponds to the value of the name
field in the plugin's XML configuration file.
You would expect a plugin developer to fill in one of either name
, or i18n-name-key
,
but the framework does no validation and makes no guarantees that this is the case.
Gets the version of the plugins system to handle this plugin
This method is deprecated.
No replacement.
Get a ResourceDescriptor
of a particular type and name.
Get a List
of all the descriptors
.
Note: since 2.2 this list must be immutable, previously modifying this list could modify the underlying list.
Get a list of all descriptors
of a particular
type.
Note: since 2.2 this list must be immutable, previously this list was modifiable but modifications would not be reflected in the underlying list.
Get a ResourceLocation
of a particular type and name.
Whether the plugin is a "system" plugin that shouldn't be made visible to the user.
true
if this plugin is a "system" plugin.
Sets the i18nKey used to get an internationalised name for this plugin.
i18nNameKey | the i18n Name Key. |
---|
Sets the non-localised name of this plugin.
name | the name. |
---|
Sets the version of the plugins system
version | The version |
---|
Perform any internal disabling logic. Subclasses should only throw
PluginException
.
Perform any internal enabling logic. Subclasses should only throw
PluginException
.
Perform any internal uninstallation logic. Subclasses should only throw
PluginException
.