java.lang.Object | |
↳ | com.atlassian.plugin.metadata.DefaultPluginMetadataManager |
A default implementation that uses the ClasspathFilePluginMetadata
plugin metadata implementation to resolve the application provided plugin metadata.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Production ctor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A module is determined to be optional if the host application has not
indicated to the plugins system that it is required.
| |||||||||||
A plugin is determined to be optional if the host application has not
indicated to the plugins system that it is required or if any of its
modules have been flagged as not optional.
| |||||||||||
A plugin is determined to be "system" if
isUserInstalled(com.atlassian.plugin.Plugin) is false. | |||||||||||
A plugin is determined to be non-user if
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.plugin.metadata.PluginMetadataManager
|
Production ctor. Loads from the class path.
A module is determined to be optional if the host application has not
indicated to the plugins system that it is required. If the call to
isOptional
with the module descriptor's plugin is false
,
then this method will also return false
. Also if the module
descriptor is annotated with
CannotDisable
then it can not be
optional.
moduleDescriptor | used to determine state, not null. |
---|
A plugin is determined to be optional if the host application has not indicated to the plugins system that it is required or if any of its modules have been flagged as not optional.
plugin | used to determine the state, not null. |
---|
A plugin is determined to be "system" if
isUserInstalled(com.atlassian.plugin.Plugin)
is false.
plugin | used to determine the state, not null. |
---|
A plugin is determined to be non-user if
isBundledPlugin()
is true or if the
host application has indicated to the plugins system that a plugin was
provided by it.
NOTE: If a user has upgraded a bundled plugin then the decision of whether it is user installed plugin is determined by if the application has indicated to the plugins system that a plugin was provided or not.
plugin | used to determine the state, not null. |
---|