Package io.typeflows.github.workflow
Object Workflow.Companion
-
- All Implemented Interfaces:
public class Workflow.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static Workflow.CompanionINSTANCE
-
Method Summary
-
-
Method Detail
-
invoke
final Workflow invoke(String filename, String displayName, Function1<Workflow.DSL, Unit> workflow)
Creates and configures a Workflow instance with Kotlin DSL syntax.
- Parameters:
filename- The name of the workflow - appears as the YAML filename in .workflow- Configuration lambda to set up the workflow- Returns:
Configured Workflow instance
-
-
-
-