Class ExecutionEngine

java.lang.Object
ca.mcscert.jpipe.commands.ExecutionEngine

public final class ExecutionEngine extends Object
Executes a sequence of commands against a Unit, handling deferred execution for commands whose condition is not yet met.
  • Constructor Details

    • ExecutionEngine

      public ExecutionEngine()
  • Method Details

    • totalDeferrals

      public int totalDeferrals()
      Total number of times a command was deferred across all executions.
    • executedCommands

      public List<ExecutedAction> executedCommands()
      Ordered list of actions that occurred during execution, with depth.
    • spawn

      public Unit spawn(String source, List<Command> commands)
    • enrich

      public Unit enrich(Unit context, List<Command> commands)