Class DecoratorMapperModuleDescriptor
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor<com.opensymphony.module.sitemesh.DecoratorMapper>
com.atlassian.bamboo.plugin.descriptor.DecoratorMapperModuleDescriptor
- All Implemented Interfaces:
com.atlassian.plugin.ModuleDescriptor<com.opensymphony.module.sitemesh.DecoratorMapper>
,com.atlassian.plugin.Resourced
,com.atlassian.plugin.ScopeAware
,com.atlassian.plugin.StateAware
public class DecoratorMapperModuleDescriptor
extends AbstractBambooModuleDescriptor<com.opensymphony.module.sitemesh.DecoratorMapper>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor
AbstractBambooModuleDescriptor.ClassNameSource, AbstractBambooModuleDescriptor.ModuleAvailability
-
Field Summary
Fields inherited from class com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor
CLASS
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources
-
Constructor Summary
ConstructorDescriptionDecoratorMapperModuleDescriptor
(com.atlassian.plugin.module.ModuleFactory moduleFactory) -
Method Summary
Modifier and TypeMethodDescription@Nullable com.opensymphony.module.sitemesh.DecoratorMapper
getDecoratorMapper
(com.opensymphony.module.sitemesh.Config config) Get the decorator mapper for this module.@Nullable com.opensymphony.module.sitemesh.DecoratorMapper
See getDecoratorMapper() for why this returns nullvoid
init
(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.module.Element element) Methods inherited from class com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor
disabled, getElementAsString, getFreeMarkerResourceLocation, getVelocityResourceLocation, instantiateClass, instantiateSubmodule, isMutable, postInit, preInit, prepareSubModuleConfiguration, prepareSubModuleConfiguration
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, destroy, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, satisfiesMinJavaVersion, setBroken, setPlugin, toString, validate
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
getDisplayName
-
Constructor Details
-
DecoratorMapperModuleDescriptor
public DecoratorMapperModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
-
-
Method Details
-
init
public void init(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.module.Element element) throws com.atlassian.plugin.PluginParseException - Specified by:
init
in interfacecom.atlassian.plugin.ModuleDescriptor<com.opensymphony.module.sitemesh.DecoratorMapper>
- Overrides:
init
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<com.opensymphony.module.sitemesh.DecoratorMapper>
- Throws:
com.atlassian.plugin.PluginParseException
-
getModule
@Nullable public @Nullable com.opensymphony.module.sitemesh.DecoratorMapper getModule()See getDecoratorMapper() for why this returns null- Specified by:
getModule
in interfacecom.atlassian.plugin.ModuleDescriptor<com.opensymphony.module.sitemesh.DecoratorMapper>
- Overrides:
getModule
in classAbstractBambooModuleDescriptor<com.opensymphony.module.sitemesh.DecoratorMapper>
- Returns:
- null
-
getDecoratorMapper
@Nullable public @Nullable com.opensymphony.module.sitemesh.DecoratorMapper getDecoratorMapper(com.opensymphony.module.sitemesh.Config config) Get the decorator mapper for this module. This method will return an initialised decorator mapper. In order to initialise it though, it needs a configuration object, that's why getModule() isn't used.- Parameters:
config
- The Sitemesh configuration- Returns:
- An initialised decorator mapper
-