E
- the type of compared elementspublic class MergeConfiguration<E> extends HashMap<String,Object>
Modifier and Type | Class and Description |
---|---|
static class |
MergeConfiguration.Version
One of the merged versions.
|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Field and Description |
---|---|
static String |
KEY_FALLBACKONCONFLICT
The name of the key used to setup the default fallback to use when finding a conflict.
|
Constructor and Description |
---|
MergeConfiguration() |
Modifier and Type | Method and Description |
---|---|
MergeConfiguration.Version |
getFallbackOnConflict() |
void |
setFallbackOnConflict(MergeConfiguration.Version version) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public static final String KEY_FALLBACKONCONFLICT
public void setFallbackOnConflict(MergeConfiguration.Version version)
version
- the version to fallback on when finding a conflict. Default is MergeConfiguration.Version.CURRENT
.public MergeConfiguration.Version getFallbackOnConflict()
MergeConfiguration.Version.CURRENT
.Copyright © 2004–2017 XWiki. All rights reserved.