invoke

operator fun invoke(uses: String, name: String? = null, step: UseLocalAction.() -> Unit = {}): UseLocalAction

Creates and configures a UseLocalAction instance with Kotlin DSL syntax using an action name.

Return

Configured UseLocalAction instance

Parameters

uses

The name of the local action directory

name

Optional name for the step (for logging and identification)

step

Configuration lambda to customize the step


operator fun invoke(uses: Path, name: String? = null, step: UseLocalAction.() -> Unit = {}): UseLocalAction

Creates and configures a UseLocalAction instance with Kotlin DSL syntax using a Path.

Return

Configured UseLocalAction instance

Parameters

uses

The path to the local action

name

Optional name for the step (for logging and identification)

step

Configuration lambda to customize the step


operator fun invoke(uses: Action, name: String? = null, step: UseLocalAction.() -> Unit = {}): UseLocalAction

Creates and configures a UseLocalAction instance with Kotlin DSL syntax using an Action class.

Return

Configured UseLocalAction instance

Parameters

uses

The Action class reference

name

Optional name for the step (for logging and identification)

step

Configuration lambda to customize the step