Class TaskConfig.Builder

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

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

    • buildPrototype

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

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