|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DescriptorParser
Interface for parsing a plugin descriptor file, e.g. atlassian-plugin.xml.
XmlDescriptorParser,
DescriptorParserFactory| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
Plugin configurePlugin(ModuleDescriptorFactory moduleDescriptorFactory,
Plugin plugin)
throws PluginParseException
moduleDescriptorFactory - a factory for instantiating the required plugin modulesplugin - the plugin whose configuration will be modified
PluginParseException - if there was an error getting information about the pluginString getKey()
boolean isSystemPlugin()
int getPluginsVersion()
PluginInformation getPluginInformation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||