Class Interpreter.Builder
java.lang.Object
com.scivicslab.pojoactor.workflow.Interpreter.Builder
- Enclosing class:
Interpreter
Builder for constructing Interpreter instances.
Provides a fluent API for configuring the interpreter with a logger name and actor system.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds and returns a new Interpreter instance.loggerName(String name) Sets the logger name for this interpreter.team(IIActorSystem system) Sets the actor system for this interpreter.
-
Constructor Details
-
Builder
public Builder()Constructs a new Builder.
-
-
Method Details
-
loggerName
Sets the logger name for this interpreter.- Parameters:
name- the logger name- Returns:
- this builder for method chaining
-
team
Sets the actor system for this interpreter.- Parameters:
system- the actor system managing the workflow actors- Returns:
- this builder for method chaining
-
build
Builds and returns a new Interpreter instance.- Returns:
- a new configured Interpreter
-