Class EnrichableMap
- java.lang.Object
-
- de.quantummaid.httpmaid.events.enriching.EnrichableMap
-
public final class EnrichableMap extends Object
-
-
Constructor Summary
Constructors Constructor Description EnrichableMap()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>asMap()static EnrichableMapemptyEnrichableMap()static EnrichableMapenrichableMap(List<String> topLevelKeys)voidenrichEitherTopOrSecondLevel(String key, Object value)voidenrichEitherTopOrSecondLevel(Map<String,?> values)voidenrichOnSecondLevelWithoutOverwriting(String key, Object value)voidenrichOnSecondLevelWithOverwriting(String key, Object value)voidoverwriteTopLevel(String key, Object value)voidoverwriteTopLevel(Map<String,?> values)
-
-
-
Method Detail
-
emptyEnrichableMap
public static EnrichableMap emptyEnrichableMap()
-
enrichableMap
public static EnrichableMap enrichableMap(List<String> topLevelKeys)
-
enrichOnSecondLevelWithoutOverwriting
public void enrichOnSecondLevelWithoutOverwriting(String key, Object value)
-
-