Class WatchEvent
-
- All Implemented Interfaces:
-
io.typeflows.github.workflow.event.GitHubEvent
public final class WatchEvent extends Context implements GitHubEvent
Represents a watch event in GitHub Actions workflows.
This event is triggered when someone stars a repository (despite the name "watch", this event is actually triggered by starring actions). It provides information about the action performed on the repository. Use this event to track repository popularity, acknowledge new stargazers, or trigger analytics workflows.
-
-
Field Summary
Fields Modifier and Type Field Description private final Repositoryrepositoryprivate final Usersenderprivate final StrExpactionprivate final Stringprefix
-
Constructor Summary
Constructors Constructor Description WatchEvent(String prefix)
-
Method Summary
Modifier and Type Method Description RepositorygetRepository()UsergetSender()final StrExpgetAction()final StringgetPrefix()-
-
Constructor Detail
-
WatchEvent
WatchEvent(String prefix)
-
-
Method Detail
-
getRepository
Repository getRepository()
-
-
-
-