public class NamedSettingsListImpl extends SettingsListImpl
originatorName
modCount
Constructor and Description |
---|
NamedSettingsListImpl(List<Object> list,
String originatorName)
Does Deep copy of settings, to avoid changing the naming of a setting
already including in an other settings tree
|
NamedSettingsListImpl(String originatorName) |
Modifier and Type | Method and Description |
---|---|
boolean |
addAll(Collection<? extends Object> settings) |
boolean |
addWithNoCloning(Object setting)
Add reference in this object.
|
void |
setOriginatorName(String originatorName) |
asFlatValuesMap, asFlatValuesMap, asJsonString, asJsonString, asSettingsMapList, asStringSettingsList, getAsBoolean, getAsInteger, getAsLong, getAsSettingsList, getAsSettingsMap, getAsString, getChildName, getNewInstance, getOriginatorName, newSettingsListChild, newSettingsListChild, newSettingsMapChild, newSettingsMapChild
add, add, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
add, add, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
public NamedSettingsListImpl(List<Object> list, String originatorName)
list
- The settings list to deep copyoriginatorName
- The name context to tag all logs/exceptions concerning
properties of this mappublic NamedSettingsListImpl(String originatorName)
originatorName
- the originator namepublic void setOriginatorName(String originatorName)
setOriginatorName
in interface ISettingsList
setOriginatorName
in class SettingsListImpl
originatorName
- that should be used to identify naming context in exception/log strings
by default, name is class name.public boolean addWithNoCloning(Object setting)
setting
- your input settingsCopyright © 2014–2022. All rights reserved.