@Test public void testWithSystemProperties() throws Exception { final Map<String, String> configuration = ConstrettoBuilder.withSystemProperties().getConfiguration().asMap(); assertFalse(configuration.isEmpty()); assertEquals(configuration.size(), ConstrettoBuilder.withSystemProperties(STATIC_CONTEXT_RESOLVER).getConfiguration().asMap().size()); }
public static ConstrettoBuilder withSystemProperties(final ConfigurationContextResolver contextResolver) { return new ConstrettoBuilder(contextResolver, true); }
ConstrettoBuilder { public static ConstrettoBuilder withSystemProperties(final ConfigurationContextResolver contextResolver) { return new ConstrettoBuilder(contextResolver, true); } }
ConstrettoBuilder { public static ConstrettoBuilder withSystemProperties(final ConfigurationContextResolver contextResolver) { return new ConstrettoBuilder(contextResolver, true); } @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 withSystemProperties(final ConfigurationContextResolver contextResolver) { return new ConstrettoBuilder(contextResolver, true); } @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 withSystemProperties(final ConfigurationContextResolver contextResolver) { return new ConstrettoBuilder(contextResolver, true); } @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; }