Class DefaultMergerManager

  • All Implemented Interfaces:
    MergerManager

    public class DefaultMergerManager
    extends Object
    implements MergerManager
    A cache to make access to the merger provided by the plugin framework fast. It also wraps the call so if no merger is available it will return one that always fails the merge.
    • Constructor Detail

      • DefaultMergerManager

        public DefaultMergerManager​(com.atlassian.plugin.PluginAccessor pluginAccessor,
                                    XmlEventReaderFactory xmlEventReaderFactory,
                                    XMLOutputFactory xmlOutputFactory)
    • Method Detail

      • getMerger

        public Merger getMerger()
        Description copied from interface: MergerManager
        Returns a merger to use. This method should never return null.
        Specified by:
        getMerger in interface MergerManager
        Returns:
        a merger ready to be used.