Class CaptureTargetInsertionPlanner
java.lang.Object
com.shaft.capture.generate.CaptureTargetInsertionPlanner
Builds focused snippets for inserting Capture-generated actions into an existing source target.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CaptureTargetInsertionPlanner
public CaptureTargetInsertionPlanner()Creates a planner.
-
-
Method Details
-
plan
public CaptureTargetInsertionPlan plan(Path generatedSource, Path targetSource, String insertAfter, String driverVariableName) Builds record-at-target snippets without editing the target source file.- Parameters:
generatedSource- generated Capture Java sourcetargetSource- existing Java source selected by the userinsertAfter- method name or textual anchor to insert afterdriverVariableName- optional driver variable name used in the target source- Returns:
- insertion snippets and validation warnings
-