Class DefaultMergerManager
java.lang.Object
com.atlassian.confluence.util.diffs.DefaultMergerManager
- All Implemented Interfaces:
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
ConstructorsConstructorDescriptionDefaultMergerManager
(com.atlassian.plugin.PluginAccessor pluginAccessor, XmlEventReaderFactory xmlEventReaderFactory, XMLOutputFactory xmlOutputFactory) -
Method Summary
-
Constructor Details
-
DefaultMergerManager
public DefaultMergerManager(com.atlassian.plugin.PluginAccessor pluginAccessor, XmlEventReaderFactory xmlEventReaderFactory, XMLOutputFactory xmlOutputFactory)
-
-
Method Details
-
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.
-