Class TDMMerger
- java.lang.Object
-
- com.atlassian.confluence.plugins.merge.TDMMerger
-
-
Constructor Summary
Constructors Constructor Description TDMMerger(XmlEventReaderFactory xmlEventReaderFactory, XmlOutputFactoryProvider xmlOutputFactoryProvider, com.atlassian.sal.api.executor.ThreadLocalDelegateExecutorFactory threadLocalDelegateExecutorFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
MergeResult
mergeContent(String base, String left, String right)
Merge the content provided.MergeResult
mergeContent(String base, String left, String right, long timeout, @NonNull TimeUnit unit)
-
-
-
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, long timeout, @NonNull TimeUnit unit)
-
mergeContent
public MergeResult mergeContent(String base, String left, String right)
Description copied from interface:Merger
Merge the content provided.- Specified by:
mergeContent
in interfaceMerger
- Parameters:
base
- common base for left and right strings.left
- branch 1 to merge inright
- 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 interfaceorg.springframework.beans.factory.DisposableBean
-
-