@Test public void testEmpty() throws Exception { final ConstrettoConfiguration emptyConfiguration = ConstrettoBuilder.empty().getConfiguration(); assertTrue(emptyConfiguration.asMap().isEmpty()); assertEquals(emptyConfiguration.asMap().size(), ConstrettoBuilder.empty(STATIC_CONTEXT_RESOLVER).getConfiguration().asMap().size()); }
public static ConstrettoBuilder empty() { return empty(new DefaultConfigurationContextResolver()); }
ConstrettoBuilder { public static ConstrettoBuilder empty() { return empty(new DefaultConfigurationContextResolver()); } }
ConstrettoBuilder { public static ConstrettoBuilder empty() { return empty(new DefaultConfigurationContextResolver()); } @Deprecated  ConstrettoBuilder(); @Deprecated  ConstrettoBuilder(boolean enableSystemProps);  ConstrettoBuilder(ConfigurationContextResolver configurationContextResolver, boolean enableSystemProps); private  ConstrettoBuilder(List<ConfigurationStore> configurationStores, List<String> tags, boolean enableSystemProps); }
ConstrettoBuilder { public static ConstrettoBuilder empty() { return empty(new DefaultConfigurationContextResolver()); } @Deprecated  ConstrettoBuilder(); @Deprecated  ConstrettoBuilder(boolean enableSystemProps);  ConstrettoBuilder(ConfigurationContextResolver configurationContextResolver, boolean enableSystemProps); private  ConstrettoBuilder(List<ConfigurationStore> configurationStores, List<String> tags, boolean enableSystemProps); static ConstrettoBuilder withSystemProperties(final ConfigurationContextResolver contextResolver); static ConstrettoBuilder withSystemProperties(); static ConstrettoBuilder empty(); static ConstrettoBuilder empty(final ConfigurationContextResolver configurationContextResolver); static ConstrettoBuilder fromExistingConfiguration(final ConstrettoConfiguration constrettoConfiguration, final ConfigurationContextResolver configurationContextResolver); static ConstrettoBuilder fromExistingConfiguration(final ConstrettoConfiguration constrettoConfiguration); ConstrettoConfiguration getConfiguration(); ConstrettoBuilder addCurrentTag(String tag); ConstrettoBuilder addConfigurationStore(ConfigurationStore configurationStore); ConstrettoBuilder addExistingConfiguration(final ConstrettoConfiguration constrettoConfiguration); PropertiesStoreBuilder createPropertiesStore(); EncryptedPropertiesStoreBuilder createEncryptedPropertiesStore(String passwordProperty); IniFileConfigurationStoreBuilder createIniFileConfigurationStore(); JsonStoreBuilder createJsonConfigurationStore(); ConstrettoBuilder createSystemPropertiesStore(); ObjectConfigurationStoreBuilder createObjectConfigurationStore(); WrappedLdapConfigurationStoreBuilder createLdapConfigurationStore(final DirContext dirContext); YamlStoreBuilder createYamlConfigurationStore(); }
ConstrettoBuilder { public static ConstrettoBuilder empty() { return empty(new DefaultConfigurationContextResolver()); } @Deprecated  ConstrettoBuilder(); @Deprecated  ConstrettoBuilder(boolean enableSystemProps);  ConstrettoBuilder(ConfigurationContextResolver configurationContextResolver, boolean enableSystemProps); private  ConstrettoBuilder(List<ConfigurationStore> configurationStores, List<String> tags, boolean enableSystemProps); static ConstrettoBuilder withSystemProperties(final ConfigurationContextResolver contextResolver); static ConstrettoBuilder withSystemProperties(); static ConstrettoBuilder empty(); static ConstrettoBuilder empty(final ConfigurationContextResolver configurationContextResolver); static ConstrettoBuilder fromExistingConfiguration(final ConstrettoConfiguration constrettoConfiguration, final ConfigurationContextResolver configurationContextResolver); static ConstrettoBuilder fromExistingConfiguration(final ConstrettoConfiguration constrettoConfiguration); ConstrettoConfiguration getConfiguration(); ConstrettoBuilder addCurrentTag(String tag); ConstrettoBuilder addConfigurationStore(ConfigurationStore configurationStore); ConstrettoBuilder addExistingConfiguration(final ConstrettoConfiguration constrettoConfiguration); PropertiesStoreBuilder createPropertiesStore(); EncryptedPropertiesStoreBuilder createEncryptedPropertiesStore(String passwordProperty); IniFileConfigurationStoreBuilder createIniFileConfigurationStore(); JsonStoreBuilder createJsonConfigurationStore(); ConstrettoBuilder createSystemPropertiesStore(); ObjectConfigurationStoreBuilder createObjectConfigurationStore(); WrappedLdapConfigurationStoreBuilder createLdapConfigurationStore(final DirContext dirContext); YamlStoreBuilder createYamlConfigurationStore(); static final String OVERRIDES; }