test_class.file: dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/builders/ConfigCenterBuilderTest.java
test_class.identifier: ConfigCenterBuilderTest
test_case.body: @Test
      void build() {
          ConfigCenterBuilder builder = new ConfigCenterBuilder();
          builder.check(true).protocol("protocol").address("address").appConfigFile("appConfigFile")
                  .cluster("cluster").configFile("configFile").group("group").highestPriority(false)
                  .namespace("namespace").password("password").timeout(1000L).username("usernama")
                  .appendParameter("default.num", "one").id("id").prefix("prefix");
  
          ConfigCenterConfig config = builder.build();
          ConfigCenterConfig config2 = builder.build();
  
          Assertions.assertTrue(config.isCheck());
          Assertions.assertFalse(config.isHighestPriority());
          Assertions.assertEquals(1000L, config.getTimeout());
          Assertions.assertEquals("protocol", config.getProtocol());
          Assertions.assertEquals("address", config.getAddress());
          Assertions.assertEquals("appConfigFile", config.getAppConfigFile());
          Assertions.assertEquals("cluster", config.getCluster());
          Assertions.assertEquals("configFile", config.getConfigFile());
          Assertions.assertEquals("group", config.getGroup());
          Assertions.assertEquals("namespace", config.getNamespace());
          Assertions.assertEquals("password", config.getPassword());
          Assertions.assertEquals("usernama", config.getUsername());
          Assertions.assertTrue(config.getParameters().containsKey("default.num"));
          Assertions.assertEquals("one", config.getParameters().get("default.num"));
          Assertions.assertEquals("id", config.getId());
          Assertions.assertEquals("prefix", config.getPrefix());
  
          Assertions.assertNotSame(config, config2);
      }
test_case.class_method_signature: ConfigCenterBuilderTest.build()
test_case.full_signature: @Test void build()
test_case.identifier: build
test_case.invocations: prefix id appendParameter username timeout password namespace highestPriority group configFile cluster appConfigFile address protocol check build build assertTrue isCheck assertFalse isHighestPriority assertEquals getTimeout assertEquals getProtocol assertEquals getAddress assertEquals getAppConfigFile assertEquals getCluster assertEquals getConfigFile assertEquals getGroup assertEquals getNamespace assertEquals getPassword assertEquals getUsername assertTrue containsKey getParameters assertEquals get getParameters assertEquals getId assertEquals getPrefix assertNotSame
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void build()
focal_class.declarator: protocol
focal_class.modifier: private
focal_class.original_string: private String protocol;
focal_class.type: String
focal_class.var_name: protocol
focal_class.declarator: address
focal_class.modifier: private
focal_class.original_string: private String address;
focal_class.type: String
focal_class.var_name: address
focal_class.declarator: cluster
focal_class.modifier: private
focal_class.original_string: private String cluster;
focal_class.type: String
focal_class.var_name: cluster
focal_class.declarator: namespace = "dubbo"
focal_class.modifier: private
focal_class.original_string: private String namespace = "dubbo";
focal_class.type: String
focal_class.var_name: namespace
focal_class.declarator: group = "dubbo"
focal_class.modifier: private
focal_class.original_string: private String group = "dubbo";
focal_class.type: String
focal_class.var_name: group
focal_class.declarator: username
focal_class.modifier: private
focal_class.original_string: private String username;
focal_class.type: String
focal_class.var_name: username
focal_class.declarator: password
focal_class.modifier: private
focal_class.original_string: private String password;
focal_class.type: String
focal_class.var_name: password
focal_class.declarator: timeout = 3000L
focal_class.modifier: private
focal_class.original_string: private Long timeout = 3000L;
focal_class.type: Long
focal_class.var_name: timeout
focal_class.declarator: highestPriority = true
focal_class.modifier: private
focal_class.original_string: private Boolean highestPriority = true;
focal_class.type: Boolean
focal_class.var_name: highestPriority
focal_class.declarator: check = true
focal_class.modifier: private
focal_class.original_string: private Boolean check = true;
focal_class.type: Boolean
focal_class.var_name: check
focal_class.declarator: configFile = "dubbo.properties"
focal_class.modifier: private
focal_class.original_string: private String configFile = "dubbo.properties";
focal_class.type: String
focal_class.var_name: configFile
focal_class.declarator: appConfigFile
focal_class.modifier: private
focal_class.original_string: private String appConfigFile;
focal_class.type: String
focal_class.var_name: appConfigFile
focal_class.declarator: parameters
focal_class.modifier: private
focal_class.original_string: private Map<String, String> parameters;
focal_class.type: Map<String, String>
focal_class.var_name: parameters
focal_class.file: dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/builders/ConfigCenterBuilder.java
focal_class.identifier: ConfigCenterBuilder
focal_class.class_method_signature: ConfigCenterBuilder.protocol(String protocol)
focal_class.full_signature: public ConfigCenterBuilder protocol(String protocol)
focal_class.identifier: protocol
focal_class.modifiers: public
focal_class.parameters: (String protocol)
focal_class.return: ConfigCenterBuilder
focal_class.signature: ConfigCenterBuilder protocol(String protocol)
focal_class.class_method_signature: ConfigCenterBuilder.address(String address)
focal_class.full_signature: public ConfigCenterBuilder address(String address)
focal_class.identifier: address
focal_class.modifiers: public
focal_class.parameters: (String address)
focal_class.return: ConfigCenterBuilder
focal_class.signature: ConfigCenterBuilder address(String address)
focal_class.class_method_signature: ConfigCenterBuilder.cluster(String cluster)
focal_class.full_signature: public ConfigCenterBuilder cluster(String cluster)
focal_class.identifier: cluster
focal_class.modifiers: public
focal_class.parameters: (String cluster)
focal_class.return: ConfigCenterBuilder
focal_class.signature: ConfigCenterBuilder cluster(String cluster)
focal_class.class_method_signature: ConfigCenterBuilder.namespace(String namespace)
focal_class.full_signature: public ConfigCenterBuilder namespace(String namespace)
focal_class.identifier: namespace
focal_class.modifiers: public
focal_class.parameters: (String namespace)
focal_class.return: ConfigCenterBuilder
focal_class.signature: ConfigCenterBuilder namespace(String namespace)
focal_class.class_method_signature: ConfigCenterBuilder.group(String group)
focal_class.full_signature: public ConfigCenterBuilder group(String group)
focal_class.identifier: group
focal_class.modifiers: public
focal_class.parameters: (String group)
focal_class.return: ConfigCenterBuilder
focal_class.signature: ConfigCenterBuilder group(String group)
focal_class.class_method_signature: ConfigCenterBuilder.username(String username)
focal_class.full_signature: public ConfigCenterBuilder username(String username)
focal_class.identifier: username
focal_class.modifiers: public
focal_class.parameters: (String username)
focal_class.return: ConfigCenterBuilder
focal_class.signature: ConfigCenterBuilder username(String username)
focal_class.class_method_signature: ConfigCenterBuilder.password(String password)
focal_class.full_signature: public ConfigCenterBuilder password(String password)
focal_class.identifier: password
focal_class.modifiers: public
focal_class.parameters: (String password)
focal_class.return: ConfigCenterBuilder
focal_class.signature: ConfigCenterBuilder password(String password)
focal_class.class_method_signature: ConfigCenterBuilder.timeout(Long timeout)
focal_class.full_signature: public ConfigCenterBuilder timeout(Long timeout)
focal_class.identifier: timeout
focal_class.modifiers: public
focal_class.parameters: (Long timeout)
focal_class.return: ConfigCenterBuilder
focal_class.signature: ConfigCenterBuilder timeout(Long timeout)
focal_class.class_method_signature: ConfigCenterBuilder.highestPriority(Boolean highestPriority)
focal_class.full_signature: public ConfigCenterBuilder highestPriority(Boolean highestPriority)
focal_class.identifier: highestPriority
focal_class.modifiers: public
focal_class.parameters: (Boolean highestPriority)
focal_class.return: ConfigCenterBuilder
focal_class.signature: ConfigCenterBuilder highestPriority(Boolean highestPriority)
focal_class.class_method_signature: ConfigCenterBuilder.check(Boolean check)
focal_class.full_signature: public ConfigCenterBuilder check(Boolean check)
focal_class.identifier: check
focal_class.modifiers: public
focal_class.parameters: (Boolean check)
focal_class.return: ConfigCenterBuilder
focal_class.signature: ConfigCenterBuilder check(Boolean check)
focal_class.class_method_signature: ConfigCenterBuilder.configFile(String configFile)
focal_class.full_signature: public ConfigCenterBuilder configFile(String configFile)
focal_class.identifier: configFile
focal_class.modifiers: public
focal_class.parameters: (String configFile)
focal_class.return: ConfigCenterBuilder
focal_class.signature: ConfigCenterBuilder configFile(String configFile)
focal_class.class_method_signature: ConfigCenterBuilder.appConfigFile(String appConfigFile)
focal_class.full_signature: public ConfigCenterBuilder appConfigFile(String appConfigFile)
focal_class.identifier: appConfigFile
focal_class.modifiers: public
focal_class.parameters: (String appConfigFile)
focal_class.return: ConfigCenterBuilder
focal_class.signature: ConfigCenterBuilder appConfigFile(String appConfigFile)
focal_class.class_method_signature: ConfigCenterBuilder.appendParameters(Map<String, String> appendParameters)
focal_class.full_signature: public ConfigCenterBuilder appendParameters(Map<String, String> appendParameters)
focal_class.identifier: appendParameters
focal_class.modifiers: public
focal_class.parameters: (Map<String, String> appendParameters)
focal_class.return: ConfigCenterBuilder
focal_class.signature: ConfigCenterBuilder appendParameters(Map<String, String> appendParameters)
focal_class.class_method_signature: ConfigCenterBuilder.appendParameter(String key, String value)
focal_class.full_signature: public ConfigCenterBuilder appendParameter(String key, String value)
focal_class.identifier: appendParameter
focal_class.modifiers: public
focal_class.parameters: (String key, String value)
focal_class.return: ConfigCenterBuilder
focal_class.signature: ConfigCenterBuilder appendParameter(String key, String value)
focal_class.class_method_signature: ConfigCenterBuilder.build()
focal_class.full_signature: public ConfigCenterConfig build()
focal_class.identifier: build
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ConfigCenterConfig
focal_class.signature: ConfigCenterConfig build()
focal_class.class_method_signature: ConfigCenterBuilder.getThis()
focal_class.full_signature: @Override protected ConfigCenterBuilder getThis()
focal_class.identifier: getThis
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: ConfigCenterBuilder
focal_class.signature: ConfigCenterBuilder getThis()
focal_class.superclass: extends AbstractBuilder<ConfigCenterConfig, ConfigCenterBuilder>
focal_method.body: public ConfigCenterConfig build() {
          ConfigCenterConfig configCenter = new ConfigCenterConfig();
          super.build(configCenter);
  
          configCenter.setProtocol(protocol);
          configCenter.setAddress(address);
          configCenter.setCluster(cluster);
          configCenter.setNamespace(namespace);
          configCenter.setGroup(group);
          configCenter.setUsername(username);
          configCenter.setPassword(password);
          configCenter.setTimeout(timeout);
          configCenter.setHighestPriority(highestPriority);
          configCenter.setCheck(check);
          configCenter.setConfigFile(configFile);
          configCenter.setAppConfigFile(appConfigFile);
          configCenter.setParameters(parameters);
  
          return configCenter;
      }
focal_method.class_method_signature: ConfigCenterBuilder.build()
focal_method.full_signature: public ConfigCenterConfig build()
focal_method.identifier: build
focal_method.invocations: build setProtocol setAddress setCluster setNamespace setGroup setUsername setPassword setTimeout setHighestPriority setCheck setConfigFile setAppConfigFile setParameters
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: ConfigCenterConfig
focal_method.signature: ConfigCenterConfig build()