com.xpn.xwiki.doc.merge
Class MergeConfiguration
java.lang.Object
com.xpn.xwiki.doc.merge.MergeConfiguration
public class MergeConfiguration
- extends Object
Allow to define some behaviors of the merge.
- Since:
- 3.2M1
- Version:
- $Id: cb99e3451c654b3f1b96af87ed3c0941de93313b $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MergeConfiguration
public MergeConfiguration()
setProvidedVersionsModifiables
public void setProvidedVersionsModifiables(boolean providedVersionsModifiables)
- Parameters:
providedVersionsModifiables
- true if the merge is allowed to modify input elements
isProvidedVersionsModifiables
public boolean isProvidedVersionsModifiables()
- Indicate of the provided previous/new document can be modified.
By default merge can modify provided documents for performances reasons. For example when the new version of the
document contains a new object it's directly moved without being cloned.
- Returns:
- true if merge is allowed to modify provided versions
Copyright © 2004-2013 XWiki. All Rights Reserved.