com.atlassian.jira.plugin.renderer
Class MacroModuleDescriptor

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
      extended by com.atlassian.jira.plugin.JiraResourcedModuleDescriptor<java.lang.Object>
          extended by com.atlassian.jira.plugin.renderer.MacroModuleDescriptor
All Implemented Interfaces:
com.atlassian.plugin.ModuleDescriptor<java.lang.Object>, com.atlassian.plugin.Resourced, com.atlassian.plugin.StateAware

public class MacroModuleDescriptor
extends JiraResourcedModuleDescriptor<java.lang.Object>


Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
RESOURCE_TYPE_I18N
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
moduleClassName, plugin, resources, singleton
 
Constructor Summary
MacroModuleDescriptor(JiraAuthenticationContext authenticationContext, com.atlassian.plugin.module.ModuleFactory moduleFactory)
           
 
Method Summary
 java.lang.Object createModule()
          Creates an instance of the Module.
 java.lang.String getHelp()
           
 java.lang.String getHelpSection()
           
 boolean hasHelp()
           
 
Methods inherited from class com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
assertResourceExists, createVelocityParams, disabled, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getModule, getName, getText, getText, init, isResourceExist
 
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, destroy, enabled, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MacroModuleDescriptor

public MacroModuleDescriptor(JiraAuthenticationContext authenticationContext,
                             com.atlassian.plugin.module.ModuleFactory moduleFactory)
Method Detail

createModule

public java.lang.Object createModule()
Description copied from class: JiraResourcedModuleDescriptor
Creates an instance of the Module. This is called by the lazy load logic of getModule() and is suitable for overriding in subclasses if they want to customize how the Module class is instantiated.

Overrides:
createModule in class JiraResourcedModuleDescriptor<java.lang.Object>
Returns:
a new instance of the module.

hasHelp

public boolean hasHelp()

getHelpSection

public java.lang.String getHelpSection()

getHelp

public java.lang.String getHelp()


Copyright © 2002-2010 Atlassian. All Rights Reserved.