Class WorkflowCall
-
- All Implemented Interfaces:
-
io.typeflows.util.Renderable
public final class WorkflowCall extends WorkflowTrigger
GitHub Actions workflow trigger for reusable workflow calls.
Enables a workflow to be called by other workflows as a reusable component. This trigger supports input parameters, outputs, and secrets that can be passed between the calling and called workflows, promoting code reuse and modularity.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classWorkflowCall.DSLpublic classWorkflowCall.Companion
-
Method Summary
Modifier and Type Method Description final StringgetOn()Map<String, Map<String, Object>>render()final static WorkflowCallcreate(Configure<WorkflowCall.DSL> trigger)Creates and configures a WorkflowCall trigger instance. final static WorkflowCallcreate()Creates and configures a WorkflowCall trigger instance. -
-
Method Detail
-
create
@JvmOverloads() final static WorkflowCall create(Configure<WorkflowCall.DSL> trigger)
Creates and configures a WorkflowCall trigger instance.
- Parameters:
trigger- Configuration lambda to set up the workflow call trigger- Returns:
Configured WorkflowCall trigger instance
-
create
@JvmOverloads() final static WorkflowCall create()
Creates and configures a WorkflowCall trigger instance.
- Returns:
Configured WorkflowCall trigger instance
-
-
-
-