test_class.file: dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/builders/MonitorBuilderTest.java
test_class.identifier: MonitorBuilderTest
test_case.body: @Test
      void build() {
          MonitorBuilder builder = new MonitorBuilder();
          builder.protocol("protocol").address("address").group("group").interval("interval").isDefault(true)
                  .password("password").username("username").version("version")
                  .appendParameter("default.num", "one").id("id").prefix("prefix");
  
          MonitorConfig config = builder.build();
          MonitorConfig config2 = builder.build();
  
          Assertions.assertEquals("protocol", config.getProtocol());
          Assertions.assertEquals("address", config.getAddress());
          Assertions.assertEquals("group", config.getGroup());
          Assertions.assertEquals("interval", config.getInterval());
          Assertions.assertEquals("password", config.getPassword());
          Assertions.assertEquals("username", config.getUsername());
          Assertions.assertEquals("version", config.getVersion());
          Assertions.assertTrue(config.isDefault());
          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: MonitorBuilderTest.build()
test_case.full_signature: @Test void build()
test_case.identifier: build
test_case.invocations: prefix id appendParameter version username password isDefault interval group address protocol build build assertEquals getProtocol assertEquals getAddress assertEquals getGroup assertEquals getInterval assertEquals getPassword assertEquals getUsername assertEquals getVersion assertTrue isDefault 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: 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: 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: interval
focal_class.modifier: private
focal_class.original_string: private String interval;
focal_class.type: String
focal_class.var_name: interval
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.file: dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/builders/MonitorBuilder.java
focal_class.identifier: MonitorBuilder
focal_class.class_method_signature: MonitorBuilder.protocol(String protocol)
focal_class.full_signature: public MonitorBuilder protocol(String protocol)
focal_class.identifier: protocol
focal_class.modifiers: public
focal_class.parameters: (String protocol)
focal_class.return: MonitorBuilder
focal_class.signature: MonitorBuilder protocol(String protocol)
focal_class.class_method_signature: MonitorBuilder.address(String address)
focal_class.full_signature: public MonitorBuilder address(String address)
focal_class.identifier: address
focal_class.modifiers: public
focal_class.parameters: (String address)
focal_class.return: MonitorBuilder
focal_class.signature: MonitorBuilder address(String address)
focal_class.class_method_signature: MonitorBuilder.username(String username)
focal_class.full_signature: public MonitorBuilder username(String username)
focal_class.identifier: username
focal_class.modifiers: public
focal_class.parameters: (String username)
focal_class.return: MonitorBuilder
focal_class.signature: MonitorBuilder username(String username)
focal_class.class_method_signature: MonitorBuilder.password(String password)
focal_class.full_signature: public MonitorBuilder password(String password)
focal_class.identifier: password
focal_class.modifiers: public
focal_class.parameters: (String password)
focal_class.return: MonitorBuilder
focal_class.signature: MonitorBuilder password(String password)
focal_class.class_method_signature: MonitorBuilder.group(String group)
focal_class.full_signature: public MonitorBuilder group(String group)
focal_class.identifier: group
focal_class.modifiers: public
focal_class.parameters: (String group)
focal_class.return: MonitorBuilder
focal_class.signature: MonitorBuilder group(String group)
focal_class.class_method_signature: MonitorBuilder.version(String version)
focal_class.full_signature: public MonitorBuilder version(String version)
focal_class.identifier: version
focal_class.modifiers: public
focal_class.parameters: (String version)
focal_class.return: MonitorBuilder
focal_class.signature: MonitorBuilder version(String version)
focal_class.class_method_signature: MonitorBuilder.interval(String interval)
focal_class.full_signature: public MonitorBuilder interval(String interval)
focal_class.identifier: interval
focal_class.modifiers: public
focal_class.parameters: (String interval)
focal_class.return: MonitorBuilder
focal_class.signature: MonitorBuilder interval(String interval)
focal_class.class_method_signature: MonitorBuilder.isDefault(Boolean isDefault)
focal_class.full_signature: public MonitorBuilder isDefault(Boolean isDefault)
focal_class.identifier: isDefault
focal_class.modifiers: public
focal_class.parameters: (Boolean isDefault)
focal_class.return: MonitorBuilder
focal_class.signature: MonitorBuilder isDefault(Boolean isDefault)
focal_class.class_method_signature: MonitorBuilder.appendParameter(String key, String value)
focal_class.full_signature: public MonitorBuilder appendParameter(String key, String value)
focal_class.identifier: appendParameter
focal_class.modifiers: public
focal_class.parameters: (String key, String value)
focal_class.return: MonitorBuilder
focal_class.signature: MonitorBuilder appendParameter(String key, String value)
focal_class.class_method_signature: MonitorBuilder.appendParameters(Map<String, String> appendParameters)
focal_class.full_signature: public MonitorBuilder appendParameters(Map<String, String> appendParameters)
focal_class.identifier: appendParameters
focal_class.modifiers: public
focal_class.parameters: (Map<String, String> appendParameters)
focal_class.return: MonitorBuilder
focal_class.signature: MonitorBuilder appendParameters(Map<String, String> appendParameters)
focal_class.class_method_signature: MonitorBuilder.build()
focal_class.full_signature: public MonitorConfig build()
focal_class.identifier: build
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: MonitorConfig
focal_class.signature: MonitorConfig build()
focal_class.class_method_signature: MonitorBuilder.getThis()
focal_class.full_signature: @Override protected MonitorBuilder getThis()
focal_class.identifier: getThis
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: MonitorBuilder
focal_class.signature: MonitorBuilder getThis()
focal_class.superclass: extends AbstractBuilder<MonitorConfig, MonitorBuilder>
focal_method.body: public MonitorConfig build() {
          MonitorConfig monitorConfig = new MonitorConfig();
          super.build(monitorConfig);
  
          monitorConfig.setProtocol(protocol);
          monitorConfig.setAddress(address);
          monitorConfig.setUsername(username);
          monitorConfig.setPassword(password);
          monitorConfig.setGroup(group);
          monitorConfig.setVersion(version);
          monitorConfig.setInterval(interval);
          monitorConfig.setParameters(parameters);
          monitorConfig.setDefault(isDefault);
  
          return monitorConfig;
      }
focal_method.class_method_signature: MonitorBuilder.build()
focal_method.full_signature: public MonitorConfig build()
focal_method.identifier: build
focal_method.invocations: build setProtocol setAddress setUsername setPassword setGroup setVersion setInterval setParameters setDefault
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: MonitorConfig
focal_method.signature: MonitorConfig build()