Object RunCommand.Companion
-
- All Implemented Interfaces:
public class RunCommand.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static RunCommand.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final RunCommandinvoke(String command, String name, Function1<BaseRun.DSL, Unit> step)Creates and configures a RunCommand instance with Kotlin DSL syntax. -
-
Method Detail
-
invoke
final RunCommand invoke(String command, String name, Function1<BaseRun.DSL, Unit> step)
Creates and configures a RunCommand instance with Kotlin DSL syntax.
- Parameters:
command- The shell command to executename- Optional name for the step (for logging and identification)step- Configuration lambda to customize the step- Returns:
Configured RunCommand instance
-
-
-
-