|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
com.atlassian.plugin.descriptors.UnloadableModuleDescriptor
public class UnloadableModuleDescriptor
Instances of this class represent a module which could not be loaded, not a module which can be unloaded.
| Field Summary |
|---|
| Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
|---|
moduleClass, moduleClassName, moduleFactory, plugin, resources, singleton |
| Constructor Summary | |
|---|---|
UnloadableModuleDescriptor()
|
|
| Method Summary | |
|---|---|
String |
getErrorText()
|
Void |
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,
org.dom4j.Element element)
Override this for module descriptors which don't expect to be able to load a class successfully |
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 UnloadableModuleDescriptor 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 UnloadableModuleDescriptor when we don't have the XML Element. |
| Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
|---|
assertModuleClassImplements, destroy, disabled, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, init, isSingleton, isSingletonByDefault, isSystemModule, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UnloadableModuleDescriptor()
| Method Detail |
|---|
public Void getModule()
ModuleDescriptor
getModule in interface ModuleDescriptor<Void>getModule in class AbstractModuleDescriptor<Void>ModuleDescriptor.getModuleClass()
protected void loadClass(Plugin plugin,
org.dom4j.Element element)
throws PluginParseException
AbstractModuleDescriptor
loadClass in class AbstractModuleDescriptor<Void>PluginParseExceptionpublic boolean isEnabledByDefault()
ModuleDescriptor
isEnabledByDefault in interface ModuleDescriptor<Void>isEnabledByDefault in class AbstractModuleDescriptor<Void>true if this plugin module is enabled by default.public String getErrorText()
public void setErrorText(String errorText)
public void setKey(String key)
key - the key of the ModuleDescriptorpublic void setName(String name)
name - the name of the ModuleDescriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||