Class UserMacroModuleDescriptor

    • Field Summary

      • Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor

        key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Macro createModule()  
      void disabled()  
      void enabled()  
      MacroMetadata getMacroMetadata()  
      Macro getModule()  
      UserMacroConfig getUserMacroConfig()  
      void init​(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element)  
      • Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor

        assertModuleClassImplements, checkPermissions, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toString
      • Methods inherited from interface com.atlassian.plugin.ModuleDescriptor

        getDisplayName
    • Constructor Detail

      • UserMacroModuleDescriptor

        public UserMacroModuleDescriptor​(com.atlassian.plugin.module.ModuleFactory moduleFactory,
                                         MacroMetadataParser macroMetadataParser)
    • Method Detail

      • init

        public void init​(com.atlassian.plugin.Plugin plugin,
                         org.dom4j.Element element)
                  throws com.atlassian.plugin.PluginParseException
        Specified by:
        init in interface com.atlassian.plugin.ModuleDescriptor<Macro>
        Overrides:
        init in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Macro>
        Throws:
        com.atlassian.plugin.PluginParseException
      • getModule

        public Macro getModule()
        Specified by:
        getModule in interface com.atlassian.plugin.ModuleDescriptor<Macro>
        Specified by:
        getModule in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Macro>
      • enabled

        public void enabled()
        Specified by:
        enabled in interface com.atlassian.plugin.StateAware
        Overrides:
        enabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Macro>
      • disabled

        public void disabled()
        Specified by:
        disabled in interface com.atlassian.plugin.StateAware
        Overrides:
        disabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Macro>