Class DefaultMergerManager
- java.lang.Object
-
- com.atlassian.confluence.util.diffs.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 Summary
Constructors Constructor Description DefaultMergerManager(com.atlassian.plugin.PluginAccessor pluginAccessor, XmlEventReaderFactory xmlEventReaderFactory, XMLOutputFactory xmlOutputFactory)
-
-
-
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 interfaceMergerManager
- Returns:
- a merger ready to be used.
-
-