Class TigerConfigurationSource
java.lang.Object
de.gematik.test.tiger.common.config.TigerConfigurationSource
- All Implemented Interfaces:
Comparable<TigerConfigurationSource>
public class TigerConfigurationSource
extends Object
implements Comparable<TigerConfigurationSource>
Stores a map of key/value-pairs.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTigerConfigurationSource(ConfigurationValuePrecedence precedence, TigerConfigurationLoader configurationLoader) TigerConfigurationSource(ConfigurationValuePrecedence precedence, Map<TigerConfigurationKey, String> values, TigerConfigurationLoader configurationLoader) -
Method Summary
Modifier and TypeMethodDescriptionaddValuesToMap(Map<TigerConfigurationKey, String> loadedAndSortedProperties) merges all properties of this source with loadedAndSortedPropertiesbuilder()protected booleanintbooleancopy()booleaninthashCode()voidputAll(TigerConfigurationSource other) voidputValue(TigerConfigurationKey baseKey, Object value) void
-
Field Details
-
precedence
-
-
Constructor Details
-
TigerConfigurationSource
public TigerConfigurationSource(ConfigurationValuePrecedence precedence, Map<TigerConfigurationKey, String> values, TigerConfigurationLoader configurationLoader) -
TigerConfigurationSource
public TigerConfigurationSource(ConfigurationValuePrecedence precedence, TigerConfigurationLoader configurationLoader)
-
-
Method Details
-
copy
-
addValuesToMap
public Map<TigerConfigurationKey,String> addValuesToMap(Map<TigerConfigurationKey, String> loadedAndSortedProperties) merges all properties of this source with loadedAndSortedProperties- Parameters:
loadedAndSortedProperties- current set of tiger properties- Returns:
- a new merged map of properties
-
getValues
-
putValue
-
removeValue
-
containsKey
-
getValue
-
putAll
-
compareTo
- Specified by:
compareToin interfaceComparable<TigerConfigurationSource>
-
builder
-
getPrecedence
-
getConfigurationLoader
-
equals
-
canEqual
-
hashCode
public int hashCode()
-