public interface DescriptorParser
XmlDescriptorParser,
DescriptorParserFactory| Modifier and Type | Method and Description |
|---|---|
Plugin |
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).
|
String |
getKey() |
PluginInformation |
getPluginInformation() |
int |
getPluginsVersion() |
boolean |
isSystemPlugin()
Deprecated.
The parser will set the SystemPlugin flag within the configurePlugin() method, so there is no need to use this externally.
See PLUG-415. Deprecated since 2.3.0
|
Plugin configurePlugin(ModuleDescriptorFactory moduleDescriptorFactory, Plugin plugin) throws PluginParseException
moduleDescriptorFactory - a factory for instantiating the required plugin modulesplugin - the plugin whose configuration will be modifiedPluginParseException - if there was an error getting information about the pluginString getKey()
boolean isSystemPlugin()
int getPluginsVersion()
PluginInformation getPluginInformation()
Copyright © 2014 Atlassian. All rights reserved.