public final class UnloadableModuleDescriptorFactory extends Object
| Constructor and Description |
|---|
UnloadableModuleDescriptorFactory() |
| Modifier and Type | Method and Description |
|---|---|
static UnloadableModuleDescriptor |
createUnloadableModuleDescriptor(Plugin plugin,
org.dom4j.Element element,
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,
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, 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, Throwable e)
plugin - the Plugin the ModuleDescriptor belongs todescriptor - the ModuleDescriptor that reported an errore - the ThrowableCopyright © 2019 Atlassian. All rights reserved.