test_class.file: dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/builders/ProviderBuilderTest.java
test_class.identifier: ProviderBuilderTest
test_case.body: @Test
      void build() {
          ProviderBuilder builder = new ProviderBuilder();
          builder.host("host").port(8080).contextPath("contextpath").threadPool("mockthreadpool")
                  .threads(2).ioThreads(3).queues(4).accepts(5).codec("mockcodec")
                  .charset("utf-8").payload(6).buffer(1024).transporter("mocktransporter").exchanger("mockexchanger")
                  .dispatcher("mockdispatcher").networker("networker").server("server").client("client")
                  .telnet("mocktelnethandler").prompt("prompt").status("mockstatuschecker").wait(Integer.valueOf(1000))
                  .isDefault(true).id("id").prefix("prefix");
  
          ProviderConfig config = builder.build();
          ProviderConfig config2 = builder.build();
  
          Assertions.assertEquals(8080, config.getPort());
          Assertions.assertEquals(2, config.getThreads());
          Assertions.assertEquals(3, config.getIothreads());
          Assertions.assertEquals(4, config.getQueues());
          Assertions.assertEquals(5, config.getAccepts());
          Assertions.assertEquals(6, config.getPayload());
          Assertions.assertEquals(1024, config.getBuffer());
          Assertions.assertEquals(1000, config.getWait());
          Assertions.assertEquals("host", config.getHost());
          Assertions.assertEquals("contextpath", config.getContextpath());
          Assertions.assertEquals("mockthreadpool", config.getThreadpool());
          Assertions.assertEquals("mockcodec", config.getCodec());
          Assertions.assertEquals("utf-8", config.getCharset());
          Assertions.assertEquals("mocktransporter", config.getTransporter());
          Assertions.assertEquals("mockexchanger", config.getExchanger());
          Assertions.assertEquals("mockdispatcher", config.getDispatcher());
          Assertions.assertEquals("networker", config.getNetworker());
          Assertions.assertEquals("server", config.getServer());
          Assertions.assertEquals("client", config.getClient());
          Assertions.assertEquals("mocktelnethandler", config.getTelnet());
          Assertions.assertEquals("prompt", config.getPrompt());
          Assertions.assertEquals("mockstatuschecker", config.getStatus());
          Assertions.assertTrue(config.isDefault());
          Assertions.assertEquals("id", config.getId());
          Assertions.assertEquals("prefix", config.getPrefix());
          Assertions.assertNotSame(config, config2);
      }
test_case.class_method_signature: ProviderBuilderTest.build()
test_case.full_signature: @Test void build()
test_case.identifier: build
test_case.invocations: prefix id isDefault wait status prompt telnet client server networker dispatcher exchanger transporter buffer payload charset codec accepts queues ioThreads threads threadPool contextPath port host valueOf build build assertEquals getPort assertEquals getThreads assertEquals getIothreads assertEquals getQueues assertEquals getAccepts assertEquals getPayload assertEquals getBuffer assertEquals getWait assertEquals getHost assertEquals getContextpath assertEquals getThreadpool assertEquals getCodec assertEquals getCharset assertEquals getTransporter assertEquals getExchanger assertEquals getDispatcher assertEquals getNetworker assertEquals getServer assertEquals getClient assertEquals getTelnet assertEquals getPrompt assertEquals getStatus assertTrue isDefault assertEquals getId assertEquals getPrefix assertNotSame
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void build()
focal_class.declarator: host
focal_class.modifier: private
focal_class.original_string: private String host;
focal_class.type: String
focal_class.var_name: host
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: contextpath
focal_class.modifier: private
focal_class.original_string: private String contextpath;
focal_class.type: String
focal_class.var_name: contextpath
focal_class.declarator: threadpool
focal_class.modifier: private
focal_class.original_string: private String threadpool;
focal_class.type: String
focal_class.var_name: threadpool
focal_class.declarator: threads
focal_class.modifier: private
focal_class.original_string: private Integer threads;
focal_class.type: Integer
focal_class.var_name: threads
focal_class.declarator: iothreads
focal_class.modifier: private
focal_class.original_string: private Integer iothreads;
focal_class.type: Integer
focal_class.var_name: iothreads
focal_class.declarator: queues
focal_class.modifier: private
focal_class.original_string: private Integer queues;
focal_class.type: Integer
focal_class.var_name: queues
focal_class.declarator: accepts
focal_class.modifier: private
focal_class.original_string: private Integer accepts;
focal_class.type: Integer
focal_class.var_name: accepts
focal_class.declarator: codec
focal_class.modifier: private
focal_class.original_string: private String codec;
focal_class.type: String
focal_class.var_name: codec
focal_class.declarator: charset
focal_class.modifier: private
focal_class.original_string: private String charset;
focal_class.type: String
focal_class.var_name: charset
focal_class.declarator: payload
focal_class.modifier: private
focal_class.original_string: private Integer payload;
focal_class.type: Integer
focal_class.var_name: payload
focal_class.declarator: buffer
focal_class.modifier: private
focal_class.original_string: private Integer buffer;
focal_class.type: Integer
focal_class.var_name: buffer
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: exchanger
focal_class.modifier: private
focal_class.original_string: private String exchanger;
focal_class.type: String
focal_class.var_name: exchanger
focal_class.declarator: dispatcher
focal_class.modifier: private
focal_class.original_string: private String dispatcher;
focal_class.type: String
focal_class.var_name: dispatcher
focal_class.declarator: networker
focal_class.modifier: private
focal_class.original_string: private String networker;
focal_class.type: String
focal_class.var_name: networker
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: telnet
focal_class.modifier: private
focal_class.original_string: private String telnet;
focal_class.type: String
focal_class.var_name: telnet
focal_class.declarator: prompt
focal_class.modifier: private
focal_class.original_string: private String prompt;
focal_class.type: String
focal_class.var_name: prompt
focal_class.declarator: status
focal_class.modifier: private
focal_class.original_string: private String status;
focal_class.type: String
focal_class.var_name: status
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: 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/ProviderBuilder.java
focal_class.identifier: ProviderBuilder
focal_class.class_method_signature: ProviderBuilder.host(String host)
focal_class.full_signature: public ProviderBuilder host(String host)
focal_class.identifier: host
focal_class.modifiers: public
focal_class.parameters: (String host)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder host(String host)
focal_class.class_method_signature: ProviderBuilder.port(Integer port)
focal_class.full_signature: public ProviderBuilder port(Integer port)
focal_class.identifier: port
focal_class.modifiers: public
focal_class.parameters: (Integer port)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder port(Integer port)
focal_class.class_method_signature: ProviderBuilder.contextPath(String contextPath)
focal_class.full_signature: public ProviderBuilder contextPath(String contextPath)
focal_class.identifier: contextPath
focal_class.modifiers: public
focal_class.parameters: (String contextPath)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder contextPath(String contextPath)
focal_class.class_method_signature: ProviderBuilder.threadPool(String threadPool)
focal_class.full_signature: public ProviderBuilder threadPool(String threadPool)
focal_class.identifier: threadPool
focal_class.modifiers: public
focal_class.parameters: (String threadPool)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder threadPool(String threadPool)
focal_class.class_method_signature: ProviderBuilder.threads(Integer threads)
focal_class.full_signature: public ProviderBuilder threads(Integer threads)
focal_class.identifier: threads
focal_class.modifiers: public
focal_class.parameters: (Integer threads)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder threads(Integer threads)
focal_class.class_method_signature: ProviderBuilder.ioThreads(Integer ioThreads)
focal_class.full_signature: public ProviderBuilder ioThreads(Integer ioThreads)
focal_class.identifier: ioThreads
focal_class.modifiers: public
focal_class.parameters: (Integer ioThreads)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder ioThreads(Integer ioThreads)
focal_class.class_method_signature: ProviderBuilder.queues(Integer queues)
focal_class.full_signature: public ProviderBuilder queues(Integer queues)
focal_class.identifier: queues
focal_class.modifiers: public
focal_class.parameters: (Integer queues)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder queues(Integer queues)
focal_class.class_method_signature: ProviderBuilder.accepts(Integer accepts)
focal_class.full_signature: public ProviderBuilder accepts(Integer accepts)
focal_class.identifier: accepts
focal_class.modifiers: public
focal_class.parameters: (Integer accepts)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder accepts(Integer accepts)
focal_class.class_method_signature: ProviderBuilder.codec(String codec)
focal_class.full_signature: public ProviderBuilder codec(String codec)
focal_class.identifier: codec
focal_class.modifiers: public
focal_class.parameters: (String codec)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder codec(String codec)
focal_class.class_method_signature: ProviderBuilder.charset(String charset)
focal_class.full_signature: public ProviderBuilder charset(String charset)
focal_class.identifier: charset
focal_class.modifiers: public
focal_class.parameters: (String charset)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder charset(String charset)
focal_class.class_method_signature: ProviderBuilder.payload(Integer payload)
focal_class.full_signature: public ProviderBuilder payload(Integer payload)
focal_class.identifier: payload
focal_class.modifiers: public
focal_class.parameters: (Integer payload)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder payload(Integer payload)
focal_class.class_method_signature: ProviderBuilder.buffer(Integer buffer)
focal_class.full_signature: public ProviderBuilder buffer(Integer buffer)
focal_class.identifier: buffer
focal_class.modifiers: public
focal_class.parameters: (Integer buffer)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder buffer(Integer buffer)
focal_class.class_method_signature: ProviderBuilder.transporter(String transporter)
focal_class.full_signature: public ProviderBuilder transporter(String transporter)
focal_class.identifier: transporter
focal_class.modifiers: public
focal_class.parameters: (String transporter)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder transporter(String transporter)
focal_class.class_method_signature: ProviderBuilder.exchanger(String exchanger)
focal_class.full_signature: public ProviderBuilder exchanger(String exchanger)
focal_class.identifier: exchanger
focal_class.modifiers: public
focal_class.parameters: (String exchanger)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder exchanger(String exchanger)
focal_class.class_method_signature: ProviderBuilder.dispatcher(String dispatcher)
focal_class.full_signature: public ProviderBuilder dispatcher(String dispatcher)
focal_class.identifier: dispatcher
focal_class.modifiers: public
focal_class.parameters: (String dispatcher)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder dispatcher(String dispatcher)
focal_class.class_method_signature: ProviderBuilder.networker(String networker)
focal_class.full_signature: public ProviderBuilder networker(String networker)
focal_class.identifier: networker
focal_class.modifiers: public
focal_class.parameters: (String networker)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder networker(String networker)
focal_class.class_method_signature: ProviderBuilder.server(String server)
focal_class.full_signature: public ProviderBuilder server(String server)
focal_class.identifier: server
focal_class.modifiers: public
focal_class.parameters: (String server)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder server(String server)
focal_class.class_method_signature: ProviderBuilder.client(String client)
focal_class.full_signature: public ProviderBuilder client(String client)
focal_class.identifier: client
focal_class.modifiers: public
focal_class.parameters: (String client)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder client(String client)
focal_class.class_method_signature: ProviderBuilder.telnet(String telnet)
focal_class.full_signature: public ProviderBuilder telnet(String telnet)
focal_class.identifier: telnet
focal_class.modifiers: public
focal_class.parameters: (String telnet)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder telnet(String telnet)
focal_class.class_method_signature: ProviderBuilder.prompt(String prompt)
focal_class.full_signature: public ProviderBuilder prompt(String prompt)
focal_class.identifier: prompt
focal_class.modifiers: public
focal_class.parameters: (String prompt)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder prompt(String prompt)
focal_class.class_method_signature: ProviderBuilder.status(String status)
focal_class.full_signature: public ProviderBuilder status(String status)
focal_class.identifier: status
focal_class.modifiers: public
focal_class.parameters: (String status)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder status(String status)
focal_class.class_method_signature: ProviderBuilder.wait(Integer wait)
focal_class.full_signature: public ProviderBuilder wait(Integer wait)
focal_class.identifier: wait
focal_class.modifiers: public
focal_class.parameters: (Integer wait)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder wait(Integer wait)
focal_class.class_method_signature: ProviderBuilder.isDefault(Boolean isDefault)
focal_class.full_signature: public ProviderBuilder isDefault(Boolean isDefault)
focal_class.identifier: isDefault
focal_class.modifiers: public
focal_class.parameters: (Boolean isDefault)
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder isDefault(Boolean isDefault)
focal_class.class_method_signature: ProviderBuilder.build()
focal_class.full_signature: public ProviderConfig build()
focal_class.identifier: build
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ProviderConfig
focal_class.signature: ProviderConfig build()
focal_class.class_method_signature: ProviderBuilder.getThis()
focal_class.full_signature: @Override protected ProviderBuilder getThis()
focal_class.identifier: getThis
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: ProviderBuilder
focal_class.signature: ProviderBuilder getThis()
focal_class.superclass: extends AbstractServiceBuilder<ProviderConfig, ProviderBuilder>
focal_method.body: public ProviderConfig build() {
          ProviderConfig provider = new ProviderConfig();
          super.build(provider);
  
          provider.setHost(host);
          provider.setPort(port);
          provider.setContextpath(contextpath);
          provider.setThreadpool(threadpool);
          provider.setThreads(threads);
          provider.setIothreads(iothreads);
          provider.setQueues(queues);
          provider.setAccepts(accepts);
          provider.setCodec(codec);
          provider.setPayload(payload);
          provider.setCharset(charset);
          provider.setBuffer(buffer);
          provider.setTransporter(transporter);
          provider.setExchanger(exchanger);
          provider.setDispatcher(dispatcher);
          provider.setNetworker(networker);
          provider.setServer(server);
          provider.setClient(client);
          provider.setTelnet(telnet);
          provider.setPrompt(prompt);
          provider.setStatus(status);
          provider.setWait(wait);
          provider.setDefault(isDefault);
  
          return provider;
      }
focal_method.class_method_signature: ProviderBuilder.build()
focal_method.full_signature: public ProviderConfig build()
focal_method.identifier: build
focal_method.invocations: build setHost setPort setContextpath setThreadpool setThreads setIothreads setQueues setAccepts setCodec setPayload setCharset setBuffer setTransporter setExchanger setDispatcher setNetworker setServer setClient setTelnet setPrompt setStatus setWait setDefault
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: ProviderConfig
focal_method.signature: ProviderConfig build()