public class

DecoratorMapperModuleDescriptor

extends AbstractModuleDescriptor<T>
java.lang.Object
   ↳ com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
     ↳ com.atlassian.jira.plugin.decorator.DecoratorMapperModuleDescriptor

Class Overview

Module descriptor for Sitemesh decorator mappers

Summary

[Expand]
Inherited Fields
From class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
Public Constructors
DecoratorMapperModuleDescriptor(ModuleFactory moduleFactory)
Public Methods
synchronized DecoratorMapper getDecoratorMapper(Config config, DecoratorMapper parent)
Get the decorator mapper for this module.
DecoratorMapper getModule()
See getDecoratorMapper() for why this returns null
void init(Plugin plugin, Element element)
[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

Public Constructors

public DecoratorMapperModuleDescriptor (ModuleFactory moduleFactory)

Public Methods

public synchronized DecoratorMapper getDecoratorMapper (Config config, DecoratorMapper parent)

Get the decorator mapper for this module. This method will return an initialised decorator mapper. In order to initialise it though, it needs a parent decorator mapper and configuration, that's why getModule() isn't used.

Parameters
config The Sitemesh configuration
parent The parent decorator mapper
Returns
  • An initialised decorator mapper

public DecoratorMapper getModule ()

See getDecoratorMapper() for why this returns null

Returns
  • null

public void init (Plugin plugin, Element element)