public final class UserMacroModuleDescriptor extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Macro> implements PluginModuleFactory<Macro>, MacroMetadataSource
Constructor and Description |
---|
UserMacroModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory,
MacroMetadataParser macroMetadataParser) |
Modifier and Type | Method and Description |
---|---|
Macro |
createModule() |
void |
disabled() |
void |
enabled() |
MacroMetadata |
getMacroMetadata() |
Macro |
getModule() |
UserMacroConfig |
getUserMacroConfig() |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
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
public UserMacroModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory, MacroMetadataParser macroMetadataParser)
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
public UserMacroConfig getUserMacroConfig()
public MacroMetadata getMacroMetadata()
getMacroMetadata
in interface MacroMetadataSource
public Macro createModule()
createModule
in interface PluginModuleFactory<Macro>
public Macro getModule()
public void enabled()
enabled
in interface com.atlassian.plugin.StateAware
enabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Macro>
public void disabled()
disabled
in interface com.atlassian.plugin.StateAware
disabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Macro>
Copyright © 2003–2019 Atlassian. All rights reserved.