PluginRunResult

sealed class PluginRunResult(source)

Result of attempting recipe execution through an official OpenRewrite build plugin.

Inheritors

Types

Link copied to clipboard
data class Failed(val reason: String) : PluginRunResult
Link copied to clipboard
Link copied to clipboard
data class Partial(val changedFiles: List<Path>, val diffs: Map<Path, String>, val estimatedTimeSaved: Duration?, val failures: List<String>) : PluginRunResult

Some discovered build units produced usable diffs while others failed, were skipped, or could not be fully covered (e.g. truncated discovery). Only arises from the multi-unit orphan (root-less monorepo) branch in PluginRecipeRunner.

Link copied to clipboard
data class Skipped(val reason: String) : PluginRunResult
Link copied to clipboard
data class Success(val changedFiles: List<Path>, val diffs: Map<Path, String>, val estimatedTimeSaved: Duration?) : PluginRunResult