Package com.atlassian.plugin.parsers
Interface CompositeDescriptorParserFactory
- All Superinterfaces:
DescriptorParserFactory
A factory which creates a DescriptorParserFactory by composing together multiple XML descriptors
- Since:
- 3.2.16
-
Method Summary
Modifier and TypeMethodDescriptiongetInstance(InputStream source, Iterable<InputStream> supplementalSources, Set<Application> applications) Creates a newDescriptorParserfor getting plugin descriptor information from the provided source data and supplemental module descriptors.Methods inherited from interface com.atlassian.plugin.parsers.DescriptorParserFactory
getInstance
-
Method Details
-
getInstance
DescriptorParser getInstance(InputStream source, Iterable<InputStream> supplementalSources, Set<Application> applications) Creates a newDescriptorParserfor getting plugin descriptor information from the provided source data and supplemental module descriptors.- Parameters:
source- the stream of data which represents the descriptor. The stream will only be read once, so it need not be resettable.supplementalSources- streams of data representing supplemental plugin informationapplications- The list of application keys to match for module descriptors- Returns:
- an instance of the descriptor parser tied to this InputStream
- Throws:
PluginParseException- if there was a problem creating the descriptor parser due to an invalid source stream.- Since:
- 3.2.15
-