Class NaturalActionExecutor

java.lang.Object
com.shaft.gui.internal.natural.NaturalActionExecutor

public final class NaturalActionExecutor extends Object
Validates and executes natural-language action plans through normal SHAFT actions.
  • Method Details

    • getLastResolutionPath

      public static String getLastResolutionPath()
      Returns the resolution path of the last executed plan. Public for MCP integration.
      Returns:
      resolution path or empty string if not set
    • clearLastResolutionPath

      public static void clearLastResolutionPath()
    • perform

      public static void perform(DriverFactoryHelper helper, String intent, Object... args)
      Plans, validates, and executes a natural-language action.
      Parameters:
      helper - active driver helper
      intent - user intent
      args - user-provided action arguments