com.atlassian.confluence.plugin.descriptor
Class CustomMacroModuleDescriptor

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor
      extended by com.atlassian.confluence.plugin.descriptor.ConfluenceVelocityModuleDescriptor
          extended by com.atlassian.confluence.plugin.descriptor.CustomMacroModuleDescriptor
All Implemented Interfaces:
MacroModuleDescriptor, UserLocaleAware, com.atlassian.plugin.ModuleDescriptor, com.atlassian.plugin.Resourced, com.atlassian.plugin.StateAware, org.springframework.context.ApplicationContextAware

public class CustomMacroModuleDescriptor
extends ConfluenceVelocityModuleDescriptor
implements com.atlassian.plugin.StateAware, MacroModuleDescriptor, org.springframework.context.ApplicationContextAware


Field Summary
 
Fields inherited from class com.atlassian.confluence.plugin.descriptor.ConfluenceVelocityModuleDescriptor
i18NBeanFactory, localeManager, RESOURCE_TYPE_I18N
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
plugin, resources, singleton
 
Constructor Summary
CustomMacroModuleDescriptor()
           
 
Method Summary
 void disabled()
           
 void enabled()
           
 java.lang.String getHelp()
           
 java.lang.String getHelpSection()
           
 java.lang.Object getModule()
           
 boolean hasHelp()
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 
Methods inherited from class com.atlassian.confluence.plugin.descriptor.ConfluenceVelocityModuleDescriptor
getHtml, getHtml, setI18NBeanFactory, setLocaleManager
 
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, destroy, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, init, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, satisfiesMinJavaVersion, setPlugin, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, init, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion
 
Methods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation
 

Constructor Detail

CustomMacroModuleDescriptor

public CustomMacroModuleDescriptor()
Method Detail

getModule

public java.lang.Object getModule()
Specified by:
getModule in interface com.atlassian.plugin.ModuleDescriptor
Specified by:
getModule in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor

enabled

public void enabled()
Specified by:
enabled in interface com.atlassian.plugin.StateAware

disabled

public void disabled()
Specified by:
disabled in interface com.atlassian.plugin.StateAware

hasHelp

public boolean hasHelp()

getHelpSection

public java.lang.String getHelpSection()

getHelp

public java.lang.String getHelp()

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.