io.descoped.dc.api.ConfigurationMap Maven / Gradle / Ivy
package io.descoped.dc.api;
import java.util.Map;
public class ConfigurationMap {
private final Map configMap;
public ConfigurationMap(Map configMap) {
this.configMap = configMap;
}
public boolean contains(String key) {
return configMap.containsKey(key);
}
public String get(String key) {
return configMap.get(key);
}
public Map asMap() {
return configMap;
}
public void put(String key, String value) {
configMap.put(key, value);
}
}