com.atlassian.plugin.parsers
Interface CompositeDescriptorParserFactory

All Superinterfaces:
DescriptorParserFactory
All Known Implementing Classes:
OsgiPluginXmlDescriptorParserFactory

public interface CompositeDescriptorParserFactory
extends DescriptorParserFactory

A factory which creates a DescriptorParserFactory by composing together multiple XML descriptors

Since:
3.2.16

Method Summary
 DescriptorParser getInstance(InputStream source, Iterable<InputStream> supplementalSources, Set<Application> applications)
          Creates a new DescriptorParser for getting plugin descriptor information from the provided source data and supplemental module descriptors.
 
Methods inherited from interface com.atlassian.plugin.parsers.DescriptorParserFactory
getInstance
 

Method Detail

getInstance

DescriptorParser getInstance(InputStream source,
                             Iterable<InputStream> supplementalSources,
                             Set<Application> applications)
                             throws PluginParseException
Creates a new DescriptorParser for 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 information
applications - 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


Copyright © 2015 Atlassian. All rights reserved.