RewriteRunner

Programmatic entry point for running OpenRewrite recipes against a project directory.

By default this class is a coordinator: it attempts the official Gradle/Maven plugin and runs any required LST work in a short-lived worker JVM. Select ExecutionMode.IN_PROCESS only when a caller needs rich OpenRewrite Results or an in-memory/custom ChangeWriter.

Types

Link copied to clipboard
class Builder

Builder for RewriteRunner.

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun run(): RunResult

Execute the configured recipe and return diffs, write outcomes, and executor diagnostics.