Class ScheduleEvent
-
- All Implemented Interfaces:
-
io.typeflows.github.workflow.event.GitHubEvent
public final class ScheduleEvent extends Context implements GitHubEvent
Represents a schedule event in GitHub Actions workflows.
This event is triggered when workflows run on a predefined schedule using cron syntax. Unlike other webhook events, schedule events are time-based and provide basic repository context. Use this event to automate recurring tasks such as nightly builds, periodic maintenance, data backups, or regular health checks.
-
-
Field Summary
Fields Modifier and Type Field Description private final Repositoryrepositoryprivate final Usersenderprivate final Stringprefix
-
Constructor Summary
Constructors Constructor Description ScheduleEvent(String prefix)
-
Method Summary
Modifier and Type Method Description RepositorygetRepository()UsergetSender()final StringgetPrefix()-
-
Constructor Detail
-
ScheduleEvent
ScheduleEvent(String prefix)
-
-
Method Detail
-
getRepository
Repository getRepository()
-
-
-
-