|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.factories.XmlDynamicPluginFactory
public class XmlDynamicPluginFactory
Deploys plugins that consist of an XML descriptor file.
| Constructor Summary | |
|---|---|
XmlDynamicPluginFactory()
Deprecated. Since 2.2.0, use XmlDynamicPluginFactory(String) instead |
|
XmlDynamicPluginFactory(java.util.Set<java.lang.String> applicationKeys)
|
|
XmlDynamicPluginFactory(java.lang.String applicationKey)
|
|
| Method Summary | |
|---|---|
java.lang.String |
canCreate(PluginArtifact pluginArtifact)
Determines if this deployer can handle this artifact by looking for the plugin descriptor |
Plugin |
create(DeploymentUnit deploymentUnit,
ModuleDescriptorFactory moduleDescriptorFactory)
Deprecated. Since 2.2.0, use create(PluginArtifact,ModuleDescriptorFactory) instead |
Plugin |
create(PluginArtifact pluginArtifact,
ModuleDescriptorFactory moduleDescriptorFactory)
Deploys the plugin artifact |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated public XmlDynamicPluginFactory()
XmlDynamicPluginFactory(String) instead
public XmlDynamicPluginFactory(java.lang.String applicationKey)
applicationKey - The application key to use to choose modulespublic XmlDynamicPluginFactory(java.util.Set<java.lang.String> applicationKeys)
applicationKeys - The application key to use to choose modules| Method Detail |
|---|
@Deprecated
public Plugin create(DeploymentUnit deploymentUnit,
ModuleDescriptorFactory moduleDescriptorFactory)
throws PluginParseException
create(PluginArtifact,ModuleDescriptorFactory) instead
PluginFactoryPluginFactory.canCreate(PluginArtifact) call returned the plugin key
create in interface PluginFactorydeploymentUnit - the unit to deploymoduleDescriptorFactory - the factory for the module descriptors
PluginParseException - if the plugin could not be parsed
public Plugin create(PluginArtifact pluginArtifact,
ModuleDescriptorFactory moduleDescriptorFactory)
throws PluginParseException
create in interface PluginFactorypluginArtifact - the plugin artifact to deploymoduleDescriptorFactory - The factory for plugin modules
PluginParseException - If the descriptor cannot be parsed
public java.lang.String canCreate(PluginArtifact pluginArtifact)
throws PluginParseException
canCreate in interface PluginFactorypluginArtifact - The artifact to test
PluginParseException - If there are exceptions parsing the plugin configuration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||