Class ScopeConfig.Builder

All Implemented Interfaces:
Prototype.Builder<ScopeConfig.Builder, ScopeConfig>, Builder<ScopeConfig.Builder, ScopeConfig>, ConfigBuilderSupport.ConfiguredBuilder<ScopeConfig.Builder, ScopeConfig>, Supplier<ScopeConfig>
Enclosing interface:
ScopeConfig

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

    • buildPrototype

      public ScopeConfig 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<ScopeConfig.Builder, ScopeConfig>
      Returns:
      an instance of the setup object created from this builder
    • build

      public ScopeConfig 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<ScopeConfig.Builder, ScopeConfig>
      Returns:
      instance of the built type