Class TDMMerger

  • All Implemented Interfaces:
    Merger, org.springframework.beans.factory.DisposableBean

    public class TDMMerger
    extends Object
    implements Merger, org.springframework.beans.factory.DisposableBean
    • Constructor Detail

      • TDMMerger

        public TDMMerger​(XmlEventReaderFactory xmlEventReaderFactory,
                         XmlOutputFactoryProvider xmlOutputFactoryProvider,
                         com.atlassian.sal.api.executor.ThreadLocalDelegateExecutorFactory threadLocalDelegateExecutorFactory)
    • Method Detail

      • mergeContent

        public MergeResult mergeContent​(String base,
                                        String left,
                                        String right)
        Description copied from interface: Merger
        Merge the content provided.
        Specified by:
        mergeContent in interface Merger
        Parameters:
        base - common base for left and right strings.
        left - branch 1 to merge in
        right - branch 2 to merge in.
        Returns:
        the result of the merge. Note that implementations should never return null. If the merge failed the returned mergeresult should contain this information.
      • destroy

        public void destroy()
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean