public class

DefaultWebSectionModuleDescriptor

extends AbstractWebFragmentModuleDescriptor
implements WebSectionModuleDescriptor
java.lang.Object
   ↳ com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
     ↳ com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor
       ↳ com.atlassian.plugin.web.descriptors.DefaultWebSectionModuleDescriptor

Class Overview

Represents a web section - that is a collection of web items.

Summary

[Expand]
Inherited Constants
From interface com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor
[Expand]
Inherited Fields
From class com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor
From class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
Public Constructors
DefaultWebSectionModuleDescriptor(WebInterfaceManager webInterfaceManager)
DefaultWebSectionModuleDescriptor()
Public Methods
String getLocation()
Void getModule()
The particular module object created by this plugin.
Class<Void> getModuleClass()
The class of the module this descriptor creates.
void init(Plugin plugin, Element element)
Initialise a module given it's parent plugin and the XML element representing the module.
[Expand]
Inherited Methods
From class com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor
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.WebSectionModuleDescriptor
From interface com.atlassian.plugin.web.descriptors.WeightedDescriptor

Public Constructors

public DefaultWebSectionModuleDescriptor (WebInterfaceManager webInterfaceManager)

public DefaultWebSectionModuleDescriptor ()

Public Methods

public String getLocation ()

public Void getModule ()

The particular module object created by this plugin.

Returns
  • The module object created by this plugin.

public Class<Void> getModuleClass ()

The class of the module this descriptor creates.

Returns
  • The class of the module this descriptor creates.

public void init (Plugin plugin, Element element)

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.

Parameters
plugin The plugin that the module belongs to. Must not be null.
element XML element representing the module. Must not be null.