public class MacroSchemaMigratorModuleDescriptor extends DefaultFactoryModuleDescriptor<MacroMigration>
MacroDefinition
, and a MacroMigration
transforms that MacroDefinition.
since 5.8
Constructor and Description |
---|
MacroSchemaMigratorModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory) |
Modifier and Type | Method and Description |
---|---|
String |
getMacroName() |
MacroMigration |
getModule()
Implementing classes should implement this method and call getModuleFromProvider, this is required as
AbstractModuleDescriptor.getModuleReturnClass() uses the return type of this method to determine the module class.
|
int |
getSchemaVersion() |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
disabled, enabled, getModuleFromProvider
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 MacroSchemaMigratorModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor<MacroMigration>
init
in class DefaultFactoryModuleDescriptor<MacroMigration>
com.atlassian.plugin.PluginParseException
public MacroMigration getModule()
DefaultFactoryModuleDescriptor
getModule
in interface com.atlassian.plugin.ModuleDescriptor<MacroMigration>
getModule
in class DefaultFactoryModuleDescriptor<MacroMigration>
public int getSchemaVersion()
public String getMacroName()
Copyright © 2003–2020 Atlassian. All rights reserved.