|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use PluginParseException | |
|---|---|
| com.atlassian.plugin | |
| com.atlassian.plugin.descriptors | |
| com.atlassian.plugin.factories | |
| com.atlassian.plugin.loaders | |
| com.atlassian.plugin.parsers | |
| Uses of PluginParseException in com.atlassian.plugin |
|---|
| Methods in com.atlassian.plugin that throw PluginParseException | ||
|---|---|---|
protected void |
DefaultPluginManager.addPlugin(PluginLoader loader,
Plugin plugin)
Deprecated. Since 2.0.2, use #addPlugins(PluginLoader,Collection instead |
|
protected void |
DefaultPluginManager.addPlugins(PluginLoader loader,
java.util.Collection<Plugin> pluginsToAdd)
Update the local plugin state and enable state aware modules. |
|
static Resources |
Resources.fromXml(org.dom4j.Element element)
Parses the resource descriptors from the provided plugin XML element and creates a Resources object containing them. |
|
java.util.List<ModuleDescriptor<?>> |
DefaultPluginManager.getEnabledModuleDescriptorsByType(java.lang.String type)
Deprecated. since 0.17, use DefaultPluginManager.getModuleDescriptors(com.atlassian.plugin.predicate.ModuleDescriptorPredicate) with an appropriate predicate instead. |
|
|
PluginAccessor.getEnabledModuleDescriptorsByType(java.lang.String type)
Deprecated. since 0.17, use PluginAccessor.getModuleDescriptors(com.atlassian.plugin.predicate.ModuleDescriptorPredicate) with an appropriate predicate instead. |
|
ModuleDescriptor |
DefaultModuleDescriptorFactory.getModuleDescriptor(java.lang.String type)
|
|
ModuleDescriptor |
ModuleDescriptorFactory.getModuleDescriptor(java.lang.String type)
|
|
java.io.InputStream |
XmlPluginArtifact.getResourceAsStream(java.lang.String name)
Always returns null, since it doesn't make sense for an XML artifact |
|
java.io.InputStream |
PluginArtifact.getResourceAsStream(java.lang.String name)
|
|
java.io.InputStream |
JarPluginArtifact.getResourceAsStream(java.lang.String fileName)
|
|
void |
PluginManager.init()
Deprecated. Initialise the plugin manager. |
|
void |
DefaultPluginManager.init()
Initialize all plugins in all loaders |
|
void |
ModuleDescriptor.init(Plugin plugin,
org.dom4j.Element element)
Initialise a module given it's parent plugin and the XML element representing the module. |
|
java.lang.String |
DefaultPluginManager.installPlugin(PluginArtifact pluginArtifact)
|
|
java.lang.String |
PluginController.installPlugin(PluginArtifact pluginArtifact)
Installs a plugin and returns the plugin key |
|
int |
DefaultPluginManager.scanForNewPlugins()
|
|
int |
PluginController.scanForNewPlugins()
Search all loaders and add any new plugins you find. |
|
| Uses of PluginParseException in com.atlassian.plugin.descriptors |
|---|
| Methods in com.atlassian.plugin.descriptors that throw PluginParseException | |
|---|---|
protected void |
AbstractModuleDescriptor.assertModuleClassImplements(java.lang.Class requiredModuleClazz)
Check that the module class of this descriptor implements a given interface, or extends a given class. |
static UnloadableModuleDescriptor |
UnloadableModuleDescriptorFactory.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 UnrecognisedModuleDescriptor |
UnrecognisedModuleDescriptorFactory.createUnrecognisedModuleDescriptor(Plugin plugin,
org.dom4j.Element element,
java.lang.Throwable e,
ModuleDescriptorFactory moduleDescriptorFactory)
Creates a new UnrecognisedModuleDescriptor, for when a problem occurs during the retrieval of the ModuleDescriptor itself. |
ModuleDescriptor |
ChainModuleDescriptorFactory.getModuleDescriptor(java.lang.String type)
|
void |
AbstractModuleDescriptor.init(Plugin plugin,
org.dom4j.Element element)
|
void |
UnrecognisedModuleDescriptor.init(Plugin plugin,
org.dom4j.Element element)
|
protected void |
AbstractModuleDescriptor.loadClass(Plugin plugin,
org.dom4j.Element element)
Deprecated. Since 2.1.0, use AbstractModuleDescriptor.loadClass(Plugin,String) instead |
protected void |
UnloadableModuleDescriptor.loadClass(Plugin plugin,
org.dom4j.Element element)
|
protected void |
AbstractModuleDescriptor.loadClass(Plugin plugin,
java.lang.String clazz)
Override this for module descriptors which don't expect to be able to load a class successfully |
| Uses of PluginParseException in com.atlassian.plugin.factories |
|---|
| Methods in com.atlassian.plugin.factories that throw PluginParseException | |
|---|---|
java.lang.String |
XmlDynamicPluginFactory.canCreate(PluginArtifact pluginArtifact)
Determines if this deployer can handle this artifact by looking for the plugin descriptor |
java.lang.String |
PluginFactory.canCreate(PluginArtifact pluginArtifact)
Determines if this factory can handle this artifact. |
java.lang.String |
LegacyDynamicPluginFactory.canCreate(PluginArtifact pluginArtifact)
Determines if this deployer can handle this artifact by looking for the plugin descriptor |
Plugin |
XmlDynamicPluginFactory.create(DeploymentUnit deploymentUnit,
ModuleDescriptorFactory moduleDescriptorFactory)
Deploys the plugin XML |
Plugin |
PluginFactory.create(DeploymentUnit deploymentUnit,
ModuleDescriptorFactory moduleDescriptorFactory)
Deploys the deployment unit by instantiating the plugin and configuring it. |
Plugin |
LegacyDynamicPluginFactory.create(DeploymentUnit deploymentUnit,
ModuleDescriptorFactory moduleDescriptorFactory)
Deploys the plugin jar |
| Uses of PluginParseException in com.atlassian.plugin.loaders |
|---|
| Methods in com.atlassian.plugin.loaders that throw PluginParseException | |
|---|---|
java.util.Collection<Plugin> |
ScanningPluginLoader.addFoundPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
|
java.util.Collection<Plugin> |
PluginLoader.addFoundPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
|
java.lang.String |
ScanningPluginLoader.canLoad(PluginArtifact pluginArtifact)
Determines if the artifact can be loaded by any of its deployers |
java.lang.String |
DynamicPluginLoader.canLoad(PluginArtifact pluginArtifact)
Determines if this loader can load the jar. |
protected Plugin |
ScanningPluginLoader.deployPluginFromUnit(DeploymentUnit deploymentUnit,
ModuleDescriptorFactory moduleDescriptorFactory)
|
protected Plugin |
BundledPluginLoader.deployPluginFromUnit(DeploymentUnit deploymentUnit,
ModuleDescriptorFactory moduleDescriptorFactory)
Just like the ScanningPluginLoader.deployPluginFromUnit(DeploymentUnit,ModuleDescriptorFactory) method
but changes the plugin to not be deletable |
static java.util.List<ResourceDescriptor> |
LoaderUtils.getResourceDescriptors(org.dom4j.Element element)
Deprecated. use Resources.fromXml(org.dom4j.Element) |
java.util.Collection<Plugin> |
ClassPathPluginLoader.loadAllPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
|
java.util.Collection<Plugin> |
SinglePluginLoader.loadAllPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
|
java.util.Collection<Plugin> |
PluginLoader.loadAllPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
|
protected Plugin |
SinglePluginLoader.loadPlugin(ModuleDescriptorFactory moduleDescriptorFactory)
|
| Uses of PluginParseException in com.atlassian.plugin.parsers |
|---|
| Methods in com.atlassian.plugin.parsers that throw PluginParseException | |
|---|---|
Plugin |
DescriptorParser.configurePlugin(ModuleDescriptorFactory moduleDescriptorFactory,
Plugin plugin)
Sets the configuration on the plugin argument to match the configuration specified in the plugin descriptor (typically an XML file). |
Plugin |
XmlDescriptorParser.configurePlugin(ModuleDescriptorFactory moduleDescriptorFactory,
Plugin plugin)
|
protected org.dom4j.Document |
XmlDescriptorParser.createDocument(java.io.InputStream source)
|
protected ModuleDescriptor |
XmlDescriptorParser.createModuleDescriptor(Plugin plugin,
org.dom4j.Element element,
ModuleDescriptorFactory moduleDescriptorFactory)
|
DescriptorParser |
DescriptorParserFactory.getInstance(java.io.InputStream source)
Creates a new DescriptorParser for getting plugin descriptor information
from the provided source data. |
DescriptorParser |
XmlDescriptorParserFactory.getInstance(java.io.InputStream source)
|
| Constructors in com.atlassian.plugin.parsers that throw PluginParseException | |
|---|---|
XmlDescriptorParser(java.io.InputStream source)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||