public final class ComponentImportModuleDescriptor extends AbstractModuleDescriptor<Object>
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources| Constructor and Description |
|---|
ComponentImportModuleDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getModule()
The particular module object created by this plugin.
|
void |
init(Plugin plugin,
org.dom4j.Element element)
Initialise a module given it's parent plugin and the XML element
representing the module.
|
assertModuleClassImplements, checkPermissions, destroy, disabled, enabled, 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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDisplayNamepublic ComponentImportModuleDescriptor()
public void init(@Nonnull Plugin plugin, @Nonnull org.dom4j.Element element) throws PluginParseException
ModuleDescriptor
Since atlassian-plugins v2.2, you can no longer load classes from the
plugin in this method, because the OSGi bundle that they will live in is
not built yet. Load classes in the StateAware.enabled()
method instead.
init in interface ModuleDescriptor<Object>init in class AbstractModuleDescriptor<Object>plugin - The plugin that the module belongs to. Must not be null.element - XML element representing the module. Must not be null.PluginParseException - Can be thrown if an error occurs while
parsing the XML element.public Object getModule()
ModuleDescriptorgetModule in interface ModuleDescriptor<Object>getModule in class AbstractModuleDescriptor<Object>ModuleDescriptor.getModuleClass()Copyright © 2019 Atlassian. All rights reserved.