@Override @Deprecated public <T> T setConfig(ConfigKey<T> key, T val) { return config().set(key, val); }
@Override public <T> T getConfig(ConfigKey<T> key) { return config().get(key); }
protected <K> K getRequiredConfig(ConfigKey<K> key) { K result = config().get(key); if (result==null) throw new NullPointerException("Value required for '"+key.getName()+"' in "+this); return result; }
ConfigKey key = (ConfigKey)entry.getKey(); if (adjunctType.getConfigKeys().contains(key)) { config().set(key, entry.getValue()); } else { log.warn("Unknown configuration key {} for policy {}; ignoring", key, this); if (config().getRaw(key).isPresent()) { log.warn("Config '"+flag+"' on "+this+" conflicts with key already set; ignoring"); } else { config().set(key, leftoverProperties.get(flag));