/** * Evaluates the passed in property key and returns a list with the matching * configuration nodes. This implementation also evaluates the * <em>force reload check</em> flag. If it is set, * {@code performReloadCheck()} is invoked. * * @param key the property key * @return a list with the matching configuration nodes */ @Override protected List<ConfigurationNode> fetchNodeList(String key) { if (isForceReloadCheck()) { performReloadCheck(); } return super.fetchNodeList(key); }
/** * Evaluates the passed in property key and returns a list with the matching * configuration nodes. This implementation also evaluates the * <em>force reload check</em> flag. If it is set, * {@code performReloadCheck()} is invoked. * * @param key the property key * @return a list with the matching configuration nodes */ @Override protected List<ConfigurationNode> fetchNodeList(String key) { if (isForceReloadCheck()) { performReloadCheck(); } return super.fetchNodeList(key); }
/** * Creates the {@code CombinedConfiguration} for the configuration * sources in the <code><additional></code> section. This method is * called when the builder constructs the final configuration. It creates a * new {@code CombinedConfiguration} and initializes some properties * from the result configuration. * * @param resultConfig the result configuration (this is the configuration * that will be returned by the builder) * @return the {@code CombinedConfiguration} for the additional * configuration sources * @since 1.7 */ protected CombinedConfiguration createAdditionalsConfiguration( CombinedConfiguration resultConfig) { CombinedConfiguration addConfig = new CombinedConfiguration(new UnionCombiner()); addConfig.setDelimiterParsingDisabled(resultConfig .isDelimiterParsingDisabled()); addConfig.setForceReloadCheck(resultConfig.isForceReloadCheck()); addConfig.setIgnoreReloadExceptions(resultConfig .isIgnoreReloadExceptions()); return addConfig; }
/** * Creates the {@code CombinedConfiguration} for the configuration * sources in the <code><additional></code> section. This method is * called when the builder constructs the final configuration. It creates a * new {@code CombinedConfiguration} and initializes some properties * from the result configuration. * * @param resultConfig the result configuration (this is the configuration * that will be returned by the builder) * @return the {@code CombinedConfiguration} for the additional * configuration sources * @since 1.7 */ protected CombinedConfiguration createAdditionalsConfiguration( CombinedConfiguration resultConfig) { CombinedConfiguration addConfig = new CombinedConfiguration(new UnionCombiner()); addConfig.setDelimiterParsingDisabled(resultConfig .isDelimiterParsingDisabled()); addConfig.setForceReloadCheck(resultConfig.isForceReloadCheck()); addConfig.setIgnoreReloadExceptions(resultConfig .isIgnoreReloadExceptions()); return addConfig; }