Package tigase.conf

# Class AbstractConfigBuilder<T extends Map,S extends AbstractConfigBuilder>

java.lang.Object
tigase.conf.AbstractConfigBuilder<T,S>

Direct Known Subclasses:
  `AbstractBeanConfigurator.BeanDefinition.Builder`, `ConfigBuilder`

public class AbstractConfigBuilder<T extends Map,S extends AbstractConfigBuilder> extends Object
Created by andrzej on 11.05.2017.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected final T`
  `map`

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `AbstractConfigBuilder(T map)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `AbstractBeanConfigurator.BeanDefinition.Builder`
  `bean()`
  `T`
  `build()`
  `void`
  `property(String key, Object value)`
  `S`
  `with(String property, Object value)`
  `S`
  `with(String property, Optional optional)`
  `S`
  `with(AbstractBeanConfigurator.BeanDefinition... beans)`
  `S`
  `withBean(Consumer<AbstractBeanConfigurator.BeanDefinition.Builder>... builders)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### map

    protected final T extends Map map

- ## Constructor Details

  - ### AbstractConfigBuilder

    protected AbstractConfigBuilder(T map)

- ## Method Details

  - ### bean

    public AbstractBeanConfigurator.BeanDefinition.Builder bean()

  - ### property

    public void property(String key, Object value)

  - ### build

    public T build()

  - ### with

    public S with(AbstractBeanConfigurator.BeanDefinition... beans)

  - ### with

    public S with(String property, Optional optional)

  - ### with

    public S with(String property, Object value)

  - ### withBean

    public S withBean(Consumer<AbstractBeanConfigurator.BeanDefinition.Builder>... builders)