Class Schedule
-
- All Implemented Interfaces:
-
io.typeflows.util.Renderable
public final class Schedule extends WorkflowTrigger
GitHub Actions workflow trigger for scheduled events.
Triggers a workflow to run at scheduled times using POSIX cron syntax. This allows for automated workflows that run on a regular schedule, such as nightly builds, weekly reports, or periodic maintenance tasks.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSchedule.DSLpublic classSchedule.Companion
-
Method Summary
Modifier and Type Method Description final StringgetOn()Map<String, List<Map<String, String>>>render()final static Schedulecreate(Configure<Schedule.DSL> trigger)Creates and configures a Schedule trigger instance. final static Schedulecreate()Creates and configures a Schedule trigger instance. -
-
Method Detail
-
create
@JvmOverloads() final static Schedule create(Configure<Schedule.DSL> trigger)
Creates and configures a Schedule trigger instance.
- Parameters:
trigger- Configuration lambda to set up the schedule trigger- Returns:
Configured Schedule trigger instance
-
create
@JvmOverloads() final static Schedule create()
Creates and configures a Schedule trigger instance.
- Returns:
Configured Schedule trigger instance
-
-
-
-