java.lang.Object |
↳ |
com.atlassian.plugin.descriptors.UnloadableModuleDescriptorFactory |
Class Overview
Utility class to create UnloadableModuleDescriptor instances when there are problems
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
UnloadableModuleDescriptorFactory
()
Public Methods
Creates a new UnloadableModuleDescriptor based on an existing ModuleDescriptor, descriptor
This method uses the information in an existing descriptor to construct a new UnloadableModuleDescriptor.
Parameters
plugin
| the Plugin the ModuleDescriptor belongs to |
descriptor
| the ModuleDescriptor that reported an error |
e
| the Throwable |
Returns
- a new UnloadableModuleDescriptor instance
Creates a new UnloadableModuleDescriptor, for when a problem occurs during the construction
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 to |
element
| the XML Element used to construct the ModuleDescriptor |
e
| the Throwable |
moduleDescriptorFactory
| a ModuleDescriptorFactory used to retrieve ModuleDescriptor instances |
Returns
- a new UnloadableModuleDescriptor instance