configure

fun configure(name: String, description: String, block: Configure<Action> = Configure {}): Action

Creates and configures an Action instance.

Return

Configured Action instance

Parameters

name

The name of the action

description

A description of what the action does

block

Configuration lambda to set up the action