Class WorkflowDispatch
-
- All Implemented Interfaces:
-
io.typeflows.util.Renderable
public final class WorkflowDispatch extends WorkflowTrigger
GitHub Actions workflow trigger for manual workflow dispatch events.
Allows workflows to be triggered manually from the GitHub Actions UI or via the GitHub API. This trigger supports input parameters that users can provide when manually starting the workflow, enabling interactive and parameterized executions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classWorkflowDispatch.DSLpublic classWorkflowDispatch.Companion
-
Method Summary
Modifier and Type Method Description final StringgetOn()Map<String, Map<String, Object>>render()final static WorkflowDispatchcreate(Configure<WorkflowDispatch.DSL> trigger)Creates and configures a WorkflowDispatch trigger instance. final static WorkflowDispatchcreate()Creates and configures a WorkflowDispatch trigger instance. -
-
Method Detail
-
create
@JvmOverloads() final static WorkflowDispatch create(Configure<WorkflowDispatch.DSL> trigger)
Creates and configures a WorkflowDispatch trigger instance.
- Parameters:
trigger- Configuration lambda to set up the workflow dispatch trigger- Returns:
Configured WorkflowDispatch trigger instance
-
create
@JvmOverloads() final static WorkflowDispatch create()
Creates and configures a WorkflowDispatch trigger instance.
- Returns:
Configured WorkflowDispatch trigger instance
-
-
-
-