@Test public void testExplicitPropertyMappings() { Map<String, String> properties = new ImmutableMap.Builder<String, String>() .put("reporting.tag.foo", "bar") .build(); ReportTagConfig expected = new ReportTagConfig() .setTags(ImmutableMap.of("foo", "bar")); assertFullMapping(properties, expected); }
@Config("reporting.tag") @LegacyConfig("report.tag") public ReportTagConfig setTags(Map<String, String> tags) { this.tags = tags; return this; }
ReportTagConfig { @Config("reporting.tag") @LegacyConfig("report.tag") public ReportTagConfig setTags(Map<String, String> tags) { this.tags = tags; return this; } }
ReportTagConfig { @Config("reporting.tag") @LegacyConfig("report.tag") public ReportTagConfig setTags(Map<String, String> tags) { this.tags = tags; return this; }  }
ReportTagConfig { @Config("reporting.tag") @LegacyConfig("report.tag") public ReportTagConfig setTags(Map<String, String> tags) { this.tags = tags; return this; }  Map<String, String> getTags(); @Config("reporting.tag") @LegacyConfig("report.tag") ReportTagConfig setTags(Map<String, String> tags); }
ReportTagConfig { @Config("reporting.tag") @LegacyConfig("report.tag") public ReportTagConfig setTags(Map<String, String> tags) { this.tags = tags; return this; }  Map<String, String> getTags(); @Config("reporting.tag") @LegacyConfig("report.tag") ReportTagConfig setTags(Map<String, String> tags);  }