test_class.file: dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/builders/RegistryBuilderTest.java
test_class.identifier: RegistryBuilderTest
test_case.body: @Test
      void build() {
          RegistryBuilder builder = new RegistryBuilder();
          builder.address("address").username("username").password("password").port(8080).protocol("protocol")
                  .transporter("transporter").server("server").client("client").cluster("cluster").group("group")
                  .version("version").timeout(1000).session(2000).file("file").wait(Integer.valueOf(10)).isCheck(true)
                  .isDynamic(false).register(true).subscribe(false).isDefault(true).simplified(false).extraKeys("A")
                  .parameter("default.num", "one").id("id").prefix("prefix");
  
          RegistryConfig config = builder.build();
          RegistryConfig config2 = builder.build();
  
          Assertions.assertEquals(8080, config.getPort());
          Assertions.assertEquals(1000, config.getTimeout());
          Assertions.assertEquals(2000, config.getSession());
          Assertions.assertEquals(10, config.getWait());
          Assertions.assertTrue(config.isCheck());
          Assertions.assertFalse(config.isDynamic());
          Assertions.assertTrue(config.isRegister());
          Assertions.assertFalse(config.isSubscribe());
          Assertions.assertTrue(config.isDefault());
          Assertions.assertFalse(config.getSimplified());
          Assertions.assertEquals("address", config.getAddress());
          Assertions.assertEquals("username", config.getUsername());
          Assertions.assertEquals("password", config.getPassword());
          Assertions.assertEquals("protocol", config.getProtocol());
          Assertions.assertEquals("transporter", config.getTransporter());
          Assertions.assertEquals("server", config.getServer());
          Assertions.assertEquals("client", config.getClient());
          Assertions.assertEquals("cluster", config.getCluster());
          Assertions.assertEquals("group", config.getGroup());
          Assertions.assertEquals("version", config.getVersion());
          Assertions.assertEquals("file", config.getFile());
          Assertions.assertEquals("A", config.getExtraKeys());
          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: RegistryBuilderTest.build()
test_case.full_signature: @Test void build()
test_case.identifier: build
test_case.invocations: prefix id parameter extraKeys simplified isDefault subscribe register isDynamic isCheck wait file session timeout version group cluster client server transporter protocol port password username address valueOf build build assertEquals getPort assertEquals getTimeout assertEquals getSession assertEquals getWait assertTrue isCheck assertFalse isDynamic assertTrue isRegister assertFalse isSubscribe assertTrue isDefault assertFalse getSimplified assertEquals getAddress assertEquals getUsername assertEquals getPassword assertEquals getProtocol assertEquals getTransporter assertEquals getServer assertEquals getClient assertEquals getCluster assertEquals getGroup assertEquals getVersion assertEquals getFile assertEquals getExtraKeys 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: address
focal_class.modifier: private
focal_class.original_string: private String address;
focal_class.type: String
focal_class.var_name: address
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: port
focal_class.modifier: private
focal_class.original_string: private Integer port;
focal_class.type: Integer
focal_class.var_name: port
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: transporter
focal_class.modifier: private
focal_class.original_string: private String transporter;
focal_class.type: String
focal_class.var_name: transporter
focal_class.declarator: server
focal_class.modifier: private
focal_class.original_string: private String server;
focal_class.type: String
focal_class.var_name: server
focal_class.declarator: client
focal_class.modifier: private
focal_class.original_string: private String client;
focal_class.type: String
focal_class.var_name: client
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: group
focal_class.modifier: private
focal_class.original_string: private String group;
focal_class.type: String
focal_class.var_name: group
focal_class.declarator: version
focal_class.modifier: private
focal_class.original_string: private String version;
focal_class.type: String
focal_class.var_name: version
focal_class.declarator: timeout
focal_class.modifier: private
focal_class.original_string: private Integer timeout;
focal_class.type: Integer
focal_class.var_name: timeout
focal_class.declarator: session
focal_class.modifier: private
focal_class.original_string: private Integer session;
focal_class.type: Integer
focal_class.var_name: session
focal_class.declarator: file
focal_class.modifier: private
focal_class.original_string: private String file;
focal_class.type: String
focal_class.var_name: file
focal_class.declarator: wait
focal_class.modifier: private
focal_class.original_string: private Integer wait;
focal_class.type: Integer
focal_class.var_name: wait
focal_class.declarator: check
focal_class.modifier: private
focal_class.original_string: private Boolean check;
focal_class.type: Boolean
focal_class.var_name: check
focal_class.declarator: dynamic
focal_class.modifier: private
focal_class.original_string: private Boolean dynamic;
focal_class.type: Boolean
focal_class.var_name: dynamic
focal_class.declarator: register
focal_class.modifier: private
focal_class.original_string: private Boolean register;
focal_class.type: Boolean
focal_class.var_name: register
focal_class.declarator: subscribe
focal_class.modifier: private
focal_class.original_string: private Boolean subscribe;
focal_class.type: Boolean
focal_class.var_name: subscribe
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.declarator: isDefault
focal_class.modifier: private
focal_class.original_string: private Boolean isDefault;
focal_class.type: Boolean
focal_class.var_name: isDefault
focal_class.declarator: simplified
focal_class.modifier: private
focal_class.original_string: private Boolean simplified;
focal_class.type: Boolean
focal_class.var_name: simplified
focal_class.declarator: extraKeys
focal_class.modifier: private
focal_class.original_string: private String extraKeys;
focal_class.type: String
focal_class.var_name: extraKeys
focal_class.declarator: useAsConfigCenter
focal_class.modifier: private
focal_class.original_string: private Boolean useAsConfigCenter;
focal_class.type: Boolean
focal_class.var_name: useAsConfigCenter
focal_class.declarator: useAsMetadataCenter
focal_class.modifier: private
focal_class.original_string: private Boolean useAsMetadataCenter;
focal_class.type: Boolean
focal_class.var_name: useAsMetadataCenter
focal_class.declarator: accepts
focal_class.modifier: private
focal_class.original_string: private String accepts;
focal_class.type: String
focal_class.var_name: accepts
focal_class.declarator: preferred
focal_class.modifier: private
focal_class.original_string: private Boolean preferred;
focal_class.type: Boolean
focal_class.var_name: preferred
focal_class.declarator: weight
focal_class.modifier: private
focal_class.original_string: private Integer weight;
focal_class.type: Integer
focal_class.var_name: weight
focal_class.file: dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/builders/RegistryBuilder.java
focal_class.identifier: RegistryBuilder
focal_class.class_method_signature: RegistryBuilder.newBuilder()
focal_class.full_signature: public static RegistryBuilder newBuilder()
focal_class.identifier: newBuilder
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder newBuilder()
focal_class.class_method_signature: RegistryBuilder.id(String id)
focal_class.full_signature: public RegistryBuilder id(String id)
focal_class.identifier: id
focal_class.modifiers: public
focal_class.parameters: (String id)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder id(String id)
focal_class.class_method_signature: RegistryBuilder.address(String address)
focal_class.full_signature: public RegistryBuilder address(String address)
focal_class.identifier: address
focal_class.modifiers: public
focal_class.parameters: (String address)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder address(String address)
focal_class.class_method_signature: RegistryBuilder.username(String username)
focal_class.full_signature: public RegistryBuilder username(String username)
focal_class.identifier: username
focal_class.modifiers: public
focal_class.parameters: (String username)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder username(String username)
focal_class.class_method_signature: RegistryBuilder.password(String password)
focal_class.full_signature: public RegistryBuilder password(String password)
focal_class.identifier: password
focal_class.modifiers: public
focal_class.parameters: (String password)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder password(String password)
focal_class.class_method_signature: RegistryBuilder.port(Integer port)
focal_class.full_signature: public RegistryBuilder port(Integer port)
focal_class.identifier: port
focal_class.modifiers: public
focal_class.parameters: (Integer port)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder port(Integer port)
focal_class.class_method_signature: RegistryBuilder.protocol(String protocol)
focal_class.full_signature: public RegistryBuilder protocol(String protocol)
focal_class.identifier: protocol
focal_class.modifiers: public
focal_class.parameters: (String protocol)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder protocol(String protocol)
focal_class.class_method_signature: RegistryBuilder.transporter(String transporter)
focal_class.full_signature: public RegistryBuilder transporter(String transporter)
focal_class.identifier: transporter
focal_class.modifiers: public
focal_class.parameters: (String transporter)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder transporter(String transporter)
focal_class.class_method_signature: RegistryBuilder.transport(String transport)
focal_class.full_signature: @Deprecated public RegistryBuilder transport(String transport)
focal_class.identifier: transport
focal_class.modifiers: @Deprecated public
focal_class.parameters: (String transport)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder transport(String transport)
focal_class.class_method_signature: RegistryBuilder.server(String server)
focal_class.full_signature: public RegistryBuilder server(String server)
focal_class.identifier: server
focal_class.modifiers: public
focal_class.parameters: (String server)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder server(String server)
focal_class.class_method_signature: RegistryBuilder.client(String client)
focal_class.full_signature: public RegistryBuilder client(String client)
focal_class.identifier: client
focal_class.modifiers: public
focal_class.parameters: (String client)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder client(String client)
focal_class.class_method_signature: RegistryBuilder.cluster(String cluster)
focal_class.full_signature: public RegistryBuilder cluster(String cluster)
focal_class.identifier: cluster
focal_class.modifiers: public
focal_class.parameters: (String cluster)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder cluster(String cluster)
focal_class.class_method_signature: RegistryBuilder.group(String group)
focal_class.full_signature: public RegistryBuilder group(String group)
focal_class.identifier: group
focal_class.modifiers: public
focal_class.parameters: (String group)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder group(String group)
focal_class.class_method_signature: RegistryBuilder.version(String version)
focal_class.full_signature: public RegistryBuilder version(String version)
focal_class.identifier: version
focal_class.modifiers: public
focal_class.parameters: (String version)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder version(String version)
focal_class.class_method_signature: RegistryBuilder.timeout(Integer timeout)
focal_class.full_signature: public RegistryBuilder timeout(Integer timeout)
focal_class.identifier: timeout
focal_class.modifiers: public
focal_class.parameters: (Integer timeout)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder timeout(Integer timeout)
focal_class.class_method_signature: RegistryBuilder.session(Integer session)
focal_class.full_signature: public RegistryBuilder session(Integer session)
focal_class.identifier: session
focal_class.modifiers: public
focal_class.parameters: (Integer session)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder session(Integer session)
focal_class.class_method_signature: RegistryBuilder.file(String file)
focal_class.full_signature: public RegistryBuilder file(String file)
focal_class.identifier: file
focal_class.modifiers: public
focal_class.parameters: (String file)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder file(String file)
focal_class.class_method_signature: RegistryBuilder.wait(Integer wait)
focal_class.full_signature: @Deprecated public RegistryBuilder wait(Integer wait)
focal_class.identifier: wait
focal_class.modifiers: @Deprecated public
focal_class.parameters: (Integer wait)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder wait(Integer wait)
focal_class.class_method_signature: RegistryBuilder.isCheck(Boolean check)
focal_class.full_signature: public RegistryBuilder isCheck(Boolean check)
focal_class.identifier: isCheck
focal_class.modifiers: public
focal_class.parameters: (Boolean check)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder isCheck(Boolean check)
focal_class.class_method_signature: RegistryBuilder.isDynamic(Boolean dynamic)
focal_class.full_signature: public RegistryBuilder isDynamic(Boolean dynamic)
focal_class.identifier: isDynamic
focal_class.modifiers: public
focal_class.parameters: (Boolean dynamic)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder isDynamic(Boolean dynamic)
focal_class.class_method_signature: RegistryBuilder.register(Boolean register)
focal_class.full_signature: public RegistryBuilder register(Boolean register)
focal_class.identifier: register
focal_class.modifiers: public
focal_class.parameters: (Boolean register)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder register(Boolean register)
focal_class.class_method_signature: RegistryBuilder.subscribe(Boolean subscribe)
focal_class.full_signature: public RegistryBuilder subscribe(Boolean subscribe)
focal_class.identifier: subscribe
focal_class.modifiers: public
focal_class.parameters: (Boolean subscribe)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder subscribe(Boolean subscribe)
focal_class.class_method_signature: RegistryBuilder.appendParameter(String key, String value)
focal_class.full_signature: public RegistryBuilder appendParameter(String key, String value)
focal_class.identifier: appendParameter
focal_class.modifiers: public
focal_class.parameters: (String key, String value)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder appendParameter(String key, String value)
focal_class.class_method_signature: RegistryBuilder.parameter(String name, String value)
focal_class.full_signature: public RegistryBuilder parameter(String name, String value)
focal_class.identifier: parameter
focal_class.modifiers: public
focal_class.parameters: (String name, String value)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder parameter(String name, String value)
focal_class.class_method_signature: RegistryBuilder.appendParameters(Map<String, String> appendParameters)
focal_class.full_signature: public RegistryBuilder appendParameters(Map<String, String> appendParameters)
focal_class.identifier: appendParameters
focal_class.modifiers: public
focal_class.parameters: (Map<String, String> appendParameters)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder appendParameters(Map<String, String> appendParameters)
focal_class.class_method_signature: RegistryBuilder.isDefault(Boolean isDefault)
focal_class.full_signature: public RegistryBuilder isDefault(Boolean isDefault)
focal_class.identifier: isDefault
focal_class.modifiers: public
focal_class.parameters: (Boolean isDefault)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder isDefault(Boolean isDefault)
focal_class.class_method_signature: RegistryBuilder.simplified(Boolean simplified)
focal_class.full_signature: public RegistryBuilder simplified(Boolean simplified)
focal_class.identifier: simplified
focal_class.modifiers: public
focal_class.parameters: (Boolean simplified)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder simplified(Boolean simplified)
focal_class.class_method_signature: RegistryBuilder.extraKeys(String extraKeys)
focal_class.full_signature: public RegistryBuilder extraKeys(String extraKeys)
focal_class.identifier: extraKeys
focal_class.modifiers: public
focal_class.parameters: (String extraKeys)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder extraKeys(String extraKeys)
focal_class.class_method_signature: RegistryBuilder.useAsConfigCenter(Boolean useAsConfigCenter)
focal_class.full_signature: public RegistryBuilder useAsConfigCenter(Boolean useAsConfigCenter)
focal_class.identifier: useAsConfigCenter
focal_class.modifiers: public
focal_class.parameters: (Boolean useAsConfigCenter)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder useAsConfigCenter(Boolean useAsConfigCenter)
focal_class.class_method_signature: RegistryBuilder.useAsMetadataCenter(Boolean useAsMetadataCenter)
focal_class.full_signature: public RegistryBuilder useAsMetadataCenter(Boolean useAsMetadataCenter)
focal_class.identifier: useAsMetadataCenter
focal_class.modifiers: public
focal_class.parameters: (Boolean useAsMetadataCenter)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder useAsMetadataCenter(Boolean useAsMetadataCenter)
focal_class.class_method_signature: RegistryBuilder.preferred(Boolean preferred)
focal_class.full_signature: public RegistryBuilder preferred(Boolean preferred)
focal_class.identifier: preferred
focal_class.modifiers: public
focal_class.parameters: (Boolean preferred)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder preferred(Boolean preferred)
focal_class.class_method_signature: RegistryBuilder.accepts(String accepts)
focal_class.full_signature: public RegistryBuilder accepts(String accepts)
focal_class.identifier: accepts
focal_class.modifiers: public
focal_class.parameters: (String accepts)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder accepts(String accepts)
focal_class.class_method_signature: RegistryBuilder.weight(Integer weight)
focal_class.full_signature: public RegistryBuilder weight(Integer weight)
focal_class.identifier: weight
focal_class.modifiers: public
focal_class.parameters: (Integer weight)
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder weight(Integer weight)
focal_class.class_method_signature: RegistryBuilder.build()
focal_class.full_signature: public RegistryConfig build()
focal_class.identifier: build
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: RegistryConfig
focal_class.signature: RegistryConfig build()
focal_class.class_method_signature: RegistryBuilder.getThis()
focal_class.full_signature: @Override protected RegistryBuilder getThis()
focal_class.identifier: getThis
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: RegistryBuilder
focal_class.signature: RegistryBuilder getThis()
focal_class.superclass: extends AbstractBuilder<RegistryConfig, RegistryBuilder>
focal_method.body: public RegistryConfig build() {
          RegistryConfig registry = new RegistryConfig();
          super.build(registry);
  
          registry.setCheck(check);
          registry.setClient(client);
          registry.setCluster(cluster);
          registry.setDefault(isDefault);
          registry.setDynamic(dynamic);
          registry.setExtraKeys(extraKeys);
          registry.setFile(file);
          registry.setGroup(group);
          registry.setParameters(parameters);
          registry.setPassword(password);
          registry.setPort(port);
          registry.setProtocol(protocol);
          registry.setRegister(register);
          registry.setServer(server);
          registry.setSession(session);
          registry.setSimplified(simplified);
          registry.setSubscribe(subscribe);
          registry.setTimeout(timeout);
          registry.setTransporter(transporter);
          registry.setUsername(username);
          registry.setVersion(version);
          registry.setWait(wait);
          registry.setUseAsConfigCenter(useAsConfigCenter);
          registry.setUseAsMetadataCenter(useAsMetadataCenter);
          registry.setAccepts(accepts);
          registry.setPreferred(preferred);
          registry.setWeight(weight);
          registry.setAddress(address);
  
          return registry;
      }
focal_method.class_method_signature: RegistryBuilder.build()
focal_method.full_signature: public RegistryConfig build()
focal_method.identifier: build
focal_method.invocations: build setCheck setClient setCluster setDefault setDynamic setExtraKeys setFile setGroup setParameters setPassword setPort setProtocol setRegister setServer setSession setSimplified setSubscribe setTimeout setTransporter setUsername setVersion setWait setUseAsConfigCenter setUseAsMetadataCenter setAccepts setPreferred setWeight setAddress
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: RegistryConfig
focal_method.signature: RegistryConfig build()