com.atlassian.plugin.descriptors
Class UnrecognisedModuleDescriptorFactory
java.lang.Object
com.atlassian.plugin.descriptors.UnrecognisedModuleDescriptorFactory
public final class UnrecognisedModuleDescriptorFactory
- extends Object
Utility class to create UnloadableModuleDescriptor instances when there are problems
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnrecognisedModuleDescriptorFactory
public UnrecognisedModuleDescriptorFactory()
createUnrecognisedModuleDescriptor
public static UnrecognisedModuleDescriptor createUnrecognisedModuleDescriptor(Plugin plugin,
org.dom4j.Element element,
Throwable e,
ModuleDescriptorFactory moduleDescriptorFactory)
throws PluginParseException
- Creates a new UnrecognisedModuleDescriptor, for when a problem occurs during the retrieval
of the ModuleDescriptor itself.
This instance has the same information as the original ModuleDescriptor, but also contains
an error message that reports the error.
- Parameters:
plugin - the Plugin the ModuleDescriptor belongs toelement - the XML Element used to construct the ModuleDescriptore - the ThrowablemoduleDescriptorFactory - a ModuleDescriptorFactory used to retrieve ModuleDescriptor instances
- Returns:
- a new UnloadableModuleDescriptor instance
- Throws:
PluginParseException - if there was a problem constructing the UnloadableModuleDescriptor
Copyright © 2014 Atlassian. All rights reserved.