test_class.file: dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/builders/MetadataReportBuilderTest.java
test_class.identifier: MetadataReportBuilderTest
test_case.body: @Test
      void build() {
          MetadataReportBuilder builder = new MetadataReportBuilder();
          builder.address("address").username("username").password("password").timeout(1000).group("group")
                  .retryTimes(1).retryPeriod(2).cycleReport(true).syncReport(false)
                  .appendParameter("default.num", "one").id("id").prefix("prefix");
  
          MetadataReportConfig config = builder.build();
          MetadataReportConfig config2 = builder.build();
  
          Assertions.assertTrue(config.getCycleReport());
          Assertions.assertFalse(config.getSyncReport());
          Assertions.assertEquals(1000, config.getTimeout());
          Assertions.assertEquals(1, config.getRetryTimes());
          Assertions.assertEquals(2, config.getRetryPeriod());
          Assertions.assertEquals("address", config.getAddress());
          Assertions.assertEquals("username", config.getUsername());
          Assertions.assertEquals("password", config.getPassword());
          Assertions.assertEquals("group", config.getGroup());
          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: MetadataReportBuilderTest.build()
test_case.full_signature: @Test void build()
test_case.identifier: build
test_case.invocations: prefix id appendParameter syncReport cycleReport retryPeriod retryTimes group timeout password username address build build assertTrue getCycleReport assertFalse getSyncReport assertEquals getTimeout assertEquals getRetryTimes assertEquals getRetryPeriod assertEquals getAddress assertEquals getUsername assertEquals getPassword assertEquals getGroup 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: timeout
focal_class.modifier: private
focal_class.original_string: private Integer timeout;
focal_class.type: Integer
focal_class.var_name: timeout
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: 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: retryTimes
focal_class.modifier: private
focal_class.original_string: private Integer retryTimes;
focal_class.type: Integer
focal_class.var_name: retryTimes
focal_class.declarator: retryPeriod
focal_class.modifier: private
focal_class.original_string: private Integer retryPeriod;
focal_class.type: Integer
focal_class.var_name: retryPeriod
focal_class.declarator: cycleReport
focal_class.modifier: private
focal_class.original_string: private Boolean cycleReport;
focal_class.type: Boolean
focal_class.var_name: cycleReport
focal_class.declarator: syncReport
focal_class.modifier: private
focal_class.original_string: private Boolean syncReport;
focal_class.type: Boolean
focal_class.var_name: syncReport
focal_class.file: dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/builders/MetadataReportBuilder.java
focal_class.identifier: MetadataReportBuilder
focal_class.class_method_signature: MetadataReportBuilder.newBuilder()
focal_class.full_signature: public static MetadataReportBuilder newBuilder()
focal_class.identifier: newBuilder
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: MetadataReportBuilder
focal_class.signature: MetadataReportBuilder newBuilder()
focal_class.class_method_signature: MetadataReportBuilder.address(String address)
focal_class.full_signature: public MetadataReportBuilder address(String address)
focal_class.identifier: address
focal_class.modifiers: public
focal_class.parameters: (String address)
focal_class.return: MetadataReportBuilder
focal_class.signature: MetadataReportBuilder address(String address)
focal_class.class_method_signature: MetadataReportBuilder.username(String username)
focal_class.full_signature: public MetadataReportBuilder username(String username)
focal_class.identifier: username
focal_class.modifiers: public
focal_class.parameters: (String username)
focal_class.return: MetadataReportBuilder
focal_class.signature: MetadataReportBuilder username(String username)
focal_class.class_method_signature: MetadataReportBuilder.password(String password)
focal_class.full_signature: public MetadataReportBuilder password(String password)
focal_class.identifier: password
focal_class.modifiers: public
focal_class.parameters: (String password)
focal_class.return: MetadataReportBuilder
focal_class.signature: MetadataReportBuilder password(String password)
focal_class.class_method_signature: MetadataReportBuilder.timeout(Integer timeout)
focal_class.full_signature: public MetadataReportBuilder timeout(Integer timeout)
focal_class.identifier: timeout
focal_class.modifiers: public
focal_class.parameters: (Integer timeout)
focal_class.return: MetadataReportBuilder
focal_class.signature: MetadataReportBuilder timeout(Integer timeout)
focal_class.class_method_signature: MetadataReportBuilder.group(String group)
focal_class.full_signature: public MetadataReportBuilder group(String group)
focal_class.identifier: group
focal_class.modifiers: public
focal_class.parameters: (String group)
focal_class.return: MetadataReportBuilder
focal_class.signature: MetadataReportBuilder group(String group)
focal_class.class_method_signature: MetadataReportBuilder.appendParameters(Map<String, String> appendParameters)
focal_class.full_signature: public MetadataReportBuilder appendParameters(Map<String, String> appendParameters)
focal_class.identifier: appendParameters
focal_class.modifiers: public
focal_class.parameters: (Map<String, String> appendParameters)
focal_class.return: MetadataReportBuilder
focal_class.signature: MetadataReportBuilder appendParameters(Map<String, String> appendParameters)
focal_class.class_method_signature: MetadataReportBuilder.appendParameter(String key, String value)
focal_class.full_signature: public MetadataReportBuilder appendParameter(String key, String value)
focal_class.identifier: appendParameter
focal_class.modifiers: public
focal_class.parameters: (String key, String value)
focal_class.return: MetadataReportBuilder
focal_class.signature: MetadataReportBuilder appendParameter(String key, String value)
focal_class.class_method_signature: MetadataReportBuilder.retryTimes(Integer retryTimes)
focal_class.full_signature: public MetadataReportBuilder retryTimes(Integer retryTimes)
focal_class.identifier: retryTimes
focal_class.modifiers: public
focal_class.parameters: (Integer retryTimes)
focal_class.return: MetadataReportBuilder
focal_class.signature: MetadataReportBuilder retryTimes(Integer retryTimes)
focal_class.class_method_signature: MetadataReportBuilder.retryPeriod(Integer retryPeriod)
focal_class.full_signature: public MetadataReportBuilder retryPeriod(Integer retryPeriod)
focal_class.identifier: retryPeriod
focal_class.modifiers: public
focal_class.parameters: (Integer retryPeriod)
focal_class.return: MetadataReportBuilder
focal_class.signature: MetadataReportBuilder retryPeriod(Integer retryPeriod)
focal_class.class_method_signature: MetadataReportBuilder.cycleReport(Boolean cycleReport)
focal_class.full_signature: public MetadataReportBuilder cycleReport(Boolean cycleReport)
focal_class.identifier: cycleReport
focal_class.modifiers: public
focal_class.parameters: (Boolean cycleReport)
focal_class.return: MetadataReportBuilder
focal_class.signature: MetadataReportBuilder cycleReport(Boolean cycleReport)
focal_class.class_method_signature: MetadataReportBuilder.syncReport(Boolean syncReport)
focal_class.full_signature: public MetadataReportBuilder syncReport(Boolean syncReport)
focal_class.identifier: syncReport
focal_class.modifiers: public
focal_class.parameters: (Boolean syncReport)
focal_class.return: MetadataReportBuilder
focal_class.signature: MetadataReportBuilder syncReport(Boolean syncReport)
focal_class.class_method_signature: MetadataReportBuilder.build()
focal_class.full_signature: public MetadataReportConfig build()
focal_class.identifier: build
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: MetadataReportConfig
focal_class.signature: MetadataReportConfig build()
focal_class.class_method_signature: MetadataReportBuilder.getThis()
focal_class.full_signature: @Override protected MetadataReportBuilder getThis()
focal_class.identifier: getThis
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: MetadataReportBuilder
focal_class.signature: MetadataReportBuilder getThis()
focal_class.superclass: extends AbstractBuilder<MetadataReportConfig, MetadataReportBuilder>
focal_method.body: public MetadataReportConfig build() {
          MetadataReportConfig metadataReport = new MetadataReportConfig();
          super.build(metadataReport);
  
          metadataReport.setAddress(address);
          metadataReport.setUsername(username);
          metadataReport.setPassword(password);
          metadataReport.setTimeout(timeout);
          metadataReport.setGroup(group);
          metadataReport.setParameters(parameters);
          metadataReport.setRetryTimes(retryTimes);
          metadataReport.setRetryPeriod(retryPeriod);
          metadataReport.setCycleReport(cycleReport);
          metadataReport.setSyncReport(syncReport);
  
          return metadataReport;
      }
focal_method.class_method_signature: MetadataReportBuilder.build()
focal_method.full_signature: public MetadataReportConfig build()
focal_method.identifier: build
focal_method.invocations: build setAddress setUsername setPassword setTimeout setGroup setParameters setRetryTimes setRetryPeriod setCycleReport setSyncReport
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: MetadataReportConfig
focal_method.signature: MetadataReportConfig build()