Class ConfigItem.Builder

All Implemented Interfaces:
Prototype.Builder<ConfigItem.Builder, ConfigItem>, Builder<ConfigItem.Builder, ConfigItem>, Supplier<ConfigItem>
Enclosing interface:
ConfigItem

public static class ConfigItem.Builder extends ConfigItem.BuilderBase<ConfigItem.Builder, ConfigItem> implements Builder<ConfigItem.Builder, ConfigItem>
Fluent API builder for ConfigItem.
  • Method Details

    • buildPrototype

      public ConfigItem buildPrototype()
      Create an instance of the prototype. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.
      Specified by:
      buildPrototype in interface Prototype.Builder<ConfigItem.Builder, ConfigItem>
      Returns:
      an instance of the setup object created from this builder
    • build

      public ConfigItem build()
      Create an instance from this builder. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.
      Specified by:
      build in interface Builder<ConfigItem.Builder, ConfigItem>
      Returns:
      instance of the built type