public final class UnloadableModuleDescriptor extends AbstractModuleDescriptor<T>
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources| Constructor and Description |
|---|
UnloadableModuleDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorText() |
T |
getModule()
The particular module object created by this plugin.
|
boolean |
isEnabledByDefault()
Whether or not this plugin module is enabled by default.
|
protected void |
loadClass(Plugin plugin,
String clazz)
Loads the module class that this descriptor provides, and will not
necessarily be the implementation class.
|
void |
setErrorText(String errorText) |
void |
setKey(String key)
Sets the key of the ModuleDescriptor
This is theoretically bad, as the superclass and the interface doesn't define this method,
but it's required to construct an module descriptor when we don't have the XML Element.
|
void |
setName(String name)
Sets the name of the ModuleDescriptor
This is theoretically bad, as the superclass and the interface doesn't define this method,
but it's required to construct an module descriptor when we don't have the XML Element.
|
assertModuleClassImplements, checkPermissions, destroy, disabled, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, init, isBroken, isEnabled, isSystemModule, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDisplayNameprotected void loadClass(Plugin plugin, String clazz) throws PluginParseException
AbstractModuleDescriptorloadClass in class AbstractModuleDescriptor<Void>clazz - The module class name to loadPluginParseExceptionpublic final String getErrorText()
public final void setErrorText(String errorText)
public final T getModule()
ModuleDescriptorgetModule in interface ModuleDescriptor<T>getModule in class AbstractModuleDescriptor<T>ModuleDescriptor.getModuleClass()public final boolean isEnabledByDefault()
ModuleDescriptorisEnabledByDefault in interface ModuleDescriptor<T>isEnabledByDefault in class AbstractModuleDescriptor<T>true if this plugin module is enabled by default.public final void setKey(String key)
key - the key of the ModuleDescriptorpublic final void setName(String name)
name - the name of the ModuleDescriptorCopyright © 2019 Atlassian. All rights reserved.