public boolean batchAddConfig(String key, Map<String, Class> stringClassMap) {
        int index = key.indexOf(':');
        String chain = key.substring(0, index);
        String cmdName = key.substring(index + 1);

        Command command = this.getCommandByChain(Arrays.asList(StringUtils.split(chain, ".")), cmdName);
        if (null == command) {
            return false;
        }

        for (Map.Entry<String, Class> entry : stringClassMap.entrySet()) {
            try {
                command.addCfg(entry.getKey(), new Config((ConfigHandler<?>) entry.getValue().newInstance()));
            } catch (InstantiationException | IllegalAccessException e) {
                e.printStackTrace();
                return false;
            }
        }
        return true;
    }