@Test public void testExplicitPropertyMappings() { Map<String, String> properties = new ImmutableMap.Builder<String, String>() .put("pool", "test-pool") .build(); ServiceSelectorConfig expected = new ServiceSelectorConfig() .setPool("test-pool"); ConfigAssertions.assertFullMapping(properties, expected); }
@Config("pool") public ServiceSelectorConfig setPool(String pool) { this.pool = pool; return this; }
ServiceSelectorConfig { @Config("pool") public ServiceSelectorConfig setPool(String pool) { this.pool = pool; return this; } }
ServiceSelectorConfig { @Config("pool") public ServiceSelectorConfig setPool(String pool) { this.pool = pool; return this; }  }
ServiceSelectorConfig { @Config("pool") public ServiceSelectorConfig setPool(String pool) { this.pool = pool; return this; }  String getPool(); @Config("pool") ServiceSelectorConfig setPool(String pool); }
ServiceSelectorConfig { @Config("pool") public ServiceSelectorConfig setPool(String pool) { this.pool = pool; return this; }  String getPool(); @Config("pool") ServiceSelectorConfig setPool(String pool); static final String DEFAULT_POOL; }