Class Interpreter.Builder

java.lang.Object
com.scivicslab.pojoactor.workflow.Interpreter.Builder
Enclosing class:
Interpreter

public static class Interpreter.Builder extends Object
Builder for constructing Interpreter instances.

Provides a fluent API for configuring the interpreter with a logger name and actor system.

  • Constructor Details

    • Builder

      public Builder()
      Constructs a new Builder.
  • Method Details

    • loggerName

      public Interpreter.Builder loggerName(String name)
      Sets the logger name for this interpreter.
      Parameters:
      name - the logger name
      Returns:
      this builder for method chaining
    • team

      public Interpreter.Builder team(IIActorSystem system)
      Sets the actor system for this interpreter.
      Parameters:
      system - the actor system managing the workflow actors
      Returns:
      this builder for method chaining
    • build

      public Interpreter build()
      Builds and returns a new Interpreter instance.
      Returns:
      a new configured Interpreter