public final class UnloadableModuleDescriptorFactory
extends java.lang.Object
| Constructor and Description |
|---|
UnloadableModuleDescriptorFactory() |
| Modifier and Type | Method and Description |
|---|---|
static UnloadableModuleDescriptor |
createUnloadableModuleDescriptor(Plugin plugin,
org.dom4j.Element element,
java.lang.Throwable e,
ModuleDescriptorFactory moduleDescriptorFactory)
Creates a new UnloadableModuleDescriptor, for when a problem occurs during the construction
of the ModuleDescriptor itself.
|
static UnloadableModuleDescriptor |
createUnloadableModuleDescriptor(Plugin plugin,
ModuleDescriptor<?> descriptor,
java.lang.Throwable e)
Creates a new UnloadableModuleDescriptor based on an existing ModuleDescriptor, descriptor
This method uses the information in an existing descriptor to construct a new UnloadableModuleDescriptor.
|
public static UnloadableModuleDescriptor createUnloadableModuleDescriptor(Plugin plugin, org.dom4j.Element element, java.lang.Throwable e, ModuleDescriptorFactory moduleDescriptorFactory) throws PluginParseException
plugin - the Plugin the ModuleDescriptor belongs toelement - the XML Element used to construct the ModuleDescriptore - the ThrowablemoduleDescriptorFactory - a ModuleDescriptorFactory used to retrieve ModuleDescriptor instancesPluginParseException - if there was a problem constructing the UnloadableModuleDescriptorpublic static UnloadableModuleDescriptor createUnloadableModuleDescriptor(Plugin plugin, ModuleDescriptor<?> descriptor, java.lang.Throwable e)
plugin - the Plugin the ModuleDescriptor belongs todescriptor - the ModuleDescriptor that reported an errore - the ThrowableCopyright © 2013 Atlassian. All Rights Reserved.