@Test public void testCloudDNSMetadata() { assertThat(PROVIDER.name()).isEqualTo("clouddns"); assertThat(PROVIDER.supportsDuplicateZoneNames()).isFalse(); assertThat(PROVIDER.credentialTypeToParameterNames()) .containsEntry("password", Arrays.asList("username", "password")) .containsEntry("apiKey", Arrays.asList("username", "apiKey")); }
@Override public Map<String, Collection<String>> credentialTypeToParameterNames() { Map<String, Collection<String>> options = new LinkedHashMap<String, Collection<String>>(); options.put("password", Arrays.asList("username", "password")); options.put("apiKey", Arrays.asList("username", "apiKey")); return options; }
CloudDNSProvider extends BasicProvider { @Override public Map<String, Collection<String>> credentialTypeToParameterNames() { Map<String, Collection<String>> options = new LinkedHashMap<String, Collection<String>>(); options.put("password", Arrays.asList("username", "password")); options.put("apiKey", Arrays.asList("username", "apiKey")); return options; } }
CloudDNSProvider extends BasicProvider { @Override public Map<String, Collection<String>> credentialTypeToParameterNames() { Map<String, Collection<String>> options = new LinkedHashMap<String, Collection<String>>(); options.put("password", Arrays.asList("username", "password")); options.put("apiKey", Arrays.asList("username", "apiKey")); return options; } CloudDNSProvider();  CloudDNSProvider(String url); }
CloudDNSProvider extends BasicProvider { @Override public Map<String, Collection<String>> credentialTypeToParameterNames() { Map<String, Collection<String>> options = new LinkedHashMap<String, Collection<String>>(); options.put("password", Arrays.asList("username", "password")); options.put("apiKey", Arrays.asList("username", "apiKey")); return options; } CloudDNSProvider();  CloudDNSProvider(String url); @Override String url(); @Override Set<String> basicRecordTypes(); @Override Map<String, Collection<String>> profileToRecordTypes(); @Override Map<String, Collection<String>> credentialTypeToParameterNames(); }
CloudDNSProvider extends BasicProvider { @Override public Map<String, Collection<String>> credentialTypeToParameterNames() { Map<String, Collection<String>> options = new LinkedHashMap<String, Collection<String>>(); options.put("password", Arrays.asList("username", "password")); options.put("apiKey", Arrays.asList("username", "apiKey")); return options; } CloudDNSProvider();  CloudDNSProvider(String url); @Override String url(); @Override Set<String> basicRecordTypes(); @Override Map<String, Collection<String>> profileToRecordTypes(); @Override Map<String, Collection<String>> credentialTypeToParameterNames();  }