@Test public void testOptionMappingsTwoMappings() { ProfilesConf profilesConf = getProfilesConf("optionMappings"); Map<String, String> map = profilesConf.getOptionMappings("two-mappings"); assertEquals(2, map.size()); assertEquals("prop1", map.get("option1")); assertEquals("prop2", map.get("option2")); }
@Override public Map<String, String> getOptionMappings(String profileName) { return getProfile(profileName).getOptionsMap(); }
ProfilesConf implements PluginConf { @Override public Map<String, String> getOptionMappings(String profileName) { return getProfile(profileName).getOptionsMap(); } }
ProfilesConf implements PluginConf { @Override public Map<String, String> getOptionMappings(String profileName) { return getProfile(profileName).getOptionsMap(); } private  ProfilesConf();   ProfilesConf(String internalProfilesFilename, String externalProfilesFilename); }
ProfilesConf implements PluginConf { @Override public Map<String, String> getOptionMappings(String profileName) { return getProfile(profileName).getOptionsMap(); } private  ProfilesConf();   ProfilesConf(String internalProfilesFilename, String externalProfilesFilename); static ProfilesConf getInstance(); @Override Map<String, String> getOptionMappings(String profileName); @Override Map<String, String> getPlugins(String profileName); @Override String getProtocol(String profileName); @Override String getHandler(String profileName); }
ProfilesConf implements PluginConf { @Override public Map<String, String> getOptionMappings(String profileName) { return getProfile(profileName).getOptionsMap(); } private  ProfilesConf();   ProfilesConf(String internalProfilesFilename, String externalProfilesFilename); static ProfilesConf getInstance(); @Override Map<String, String> getOptionMappings(String profileName); @Override Map<String, String> getPlugins(String profileName); @Override String getProtocol(String profileName); @Override String getHandler(String profileName);  }