| java.lang.Object | ||
| ↳ | com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T> | |
| ↳ | com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor | |
Known Direct Subclasses
|
An abstract convenience class for web fragment descriptors.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| condition | |||||||||||
| contextProvider | |||||||||||
| element | |||||||||||
| label | |||||||||||
| params | |||||||||||
| tooltip | |||||||||||
| webInterfaceManager | |||||||||||
| weight | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.plugin.descriptors.AbstractModuleDescriptor
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Disables the module descriptor.
| |||||||||||
Enables the descriptor by loading the module class.
| |||||||||||
Returns the ContextProvider that augments the context used to render a
web module.
| |||||||||||
Initialise a module given it's parent plugin and the XML element
representing the module.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a condition for when this web fragment should be displayed
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.plugin.descriptors.AbstractModuleDescriptor
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.plugin.ModuleDescriptor
| |||||||||||
From interface
com.atlassian.plugin.Resourced
| |||||||||||
From interface
com.atlassian.plugin.StateAware
| |||||||||||
From interface
com.atlassian.plugin.web.descriptors.ConditionalDescriptor
| |||||||||||
From interface
com.atlassian.plugin.web.descriptors.ContextAware
| |||||||||||
From interface
com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor
| |||||||||||
From interface
com.atlassian.plugin.web.descriptors.WeightedDescriptor
| |||||||||||
Disables the module descriptor. Classes overriding this method MUST call super.disabled() after their own disabling code.
Enables the descriptor by loading the module class. Classes overriding this method MUST call super.enabled() before their own enabling code.
Returns the ContextProvider that augments the context used to render a web module.
Initialise a module given it's parent plugin and the XML element representing the module.
Since atlassian-plugins v2.2, you can no longer load classes from the
plugin in this method, because the OSGi bundle that they will live in is
not built yet. Load classes in the
enabled()
method instead.
| plugin | The plugin that the module belongs to. Must not be null. |
|---|---|
| element | XML element representing the module. Must not be null. |
| PluginParseException |
|---|
Create a condition for when this web fragment should be displayed
| element | Element of web-section or web-item |
|---|---|
| type | logical operator type ConditionElementParser#get(String) |
| PluginParseException |
|---|