/** * Gets the system-wide defaults for streams. * * @param systemName the name of the system for which the defaults will be returned. * @return a subset of the config with the system prefix removed. */ public Config getDefaultStreamProperties(String systemName) { return subset(String.format(SYSTEM_DEFAULT_STREAMS_PREFIX_FORMAT, systemName), true); } }
/** * Gets the system-wide defaults for streams. * * @param systemName the name of the system for which the defaults will be returned. * @return a subset of the config with the system prefix removed. */ public Config getDefaultStreamProperties(String systemName) { return subset(String.format(SYSTEM_DEFAULT_STREAMS_PREFIX_FORMAT, systemName), true); } }
/** * Gets the system-wide defaults for streams. * * @param systemName the name of the system for which the defaults will be returned. * @return a subset of the config with the system prefix removed. */ public Config getDefaultStreamProperties(String systemName) { return subset(String.format(SYSTEM_DEFAULT_STREAMS_PREFIX_FORMAT, systemName), true); }
/** * Gets the system-wide defaults for streams. * * @param systemName the name of the system for which the defaults will be returned. * @return a subset of the config with the system prefix removed. */ public Config getDefaultStreamProperties(String systemName) { return subset(String.format(SYSTEM_DEFAULT_STREAMS_PREFIX_FORMAT, systemName), true); } }
/** * Gets the system-wide defaults for streams. * * @param systemName the name of the system for which the defaults will be returned. * @return a subset of the config with the system prefix removed. */ public Config getDefaultStreamProperties(String systemName) { return subset(String.format(SYSTEM_DEFAULT_STREAMS_PREFIX_FORMAT, systemName), true); } }
/** * Get a list of system names. * * @return A list system names */ public List<String> getSystemNames() { Config subConf = subset(SYSTEM_PREFIX, true); ArrayList<String> systemNames = new ArrayList<String>(); for (Map.Entry<String, String> entry : subConf.entrySet()) { String key = entry.getKey(); if (key.endsWith(SYSTEM_FACTORY_SUFFIX)) { systemNames.add(key.replace(SYSTEM_FACTORY_SUFFIX, EMPTY)); } } return systemNames; }
/** * Get a list of system names. * * @return A list system names */ public List<String> getSystemNames() { Config subConf = subset(SYSTEM_PREFIX, true); ArrayList<String> systemNames = new ArrayList<String>(); for (Map.Entry<String, String> entry : subConf.entrySet()) { String key = entry.getKey(); if (key.endsWith(SYSTEM_FACTORY_SUFFIX)) { systemNames.add(key.replace(SYSTEM_FACTORY_SUFFIX, EMPTY)); } } return systemNames; }
/** * Get a list of system names. * * @return A list system names */ public List<String> getSystemNames() { Config subConf = subset(SYSTEM_PREFIX, true); ArrayList<String> systemNames = new ArrayList<String>(); for (Map.Entry<String, String> entry : subConf.entrySet()) { String key = entry.getKey(); if (key.endsWith(SYSTEM_FACTORY_SUFFIX)) { systemNames.add(key.replace(SYSTEM_FACTORY_SUFFIX, EMPTY)); } } return systemNames; }
/** * Get a list of system names. * * @return A list system names */ public List<String> getSystemNames() { Config subConf = subset(SYSTEM_PREFIX, true); ArrayList<String> systemNames = new ArrayList<String>(); for (Map.Entry<String, String> entry : subConf.entrySet()) { String key = entry.getKey(); if (key.endsWith(SYSTEM_FACTORY_SUFFIX)) { systemNames.add(key.replace(SYSTEM_FACTORY_SUFFIX, EMPTY)); } } return systemNames; }
/** * Get a list of system names. * * @return A list system names */ public List<String> getSystemNames() { Config subConf = subset(SYSTEM_PREFIX, true); ArrayList<String> systemNames = new ArrayList<String>(); for (Map.Entry<String, String> entry : subConf.entrySet()) { String key = entry.getKey(); if (key.endsWith(SYSTEM_FACTORY_SUFFIX)) { systemNames.add(key.replace(SYSTEM_FACTORY_SUFFIX, EMPTY)); } } return systemNames; }