Class CreateEvent
-
- All Implemented Interfaces:
-
io.typeflows.github.workflow.event.GitHubEvent
public final class CreateEvent extends Context implements GitHubEvent
Represents a create event in GitHub Actions workflows.
This event is triggered when a Git reference (branch or tag) is created in a repository. It provides information about the newly created reference, including its name, type, and description. Use this event to automate processes when new branches or tags are created, such as setting up development environments or triggering release workflows.
-
-
Field Summary
Fields Modifier and Type Field Description private final Repositoryrepositoryprivate final Usersenderprivate final StrExprefprivate final StrExpref_typeprivate final StrExpmaster_branchprivate final StrExppusher_typeprivate final StrExpdescriptionprivate final Stringprefix
-
Constructor Summary
Constructors Constructor Description CreateEvent(String prefix)
-
Method Summary
Modifier and Type Method Description RepositorygetRepository()UsergetSender()final StrExpgetRef()final StrExpgetRef_type()final StrExpgetMaster_branch()final StrExpgetPusher_type()final StrExpgetDescription()final StringgetPrefix()-
-
Constructor Detail
-
CreateEvent
CreateEvent(String prefix)
-
-
Method Detail
-
getRepository
Repository getRepository()
-
getRef_type
final StrExp getRef_type()
-
getMaster_branch
final StrExp getMaster_branch()
-
getPusher_type
final StrExp getPusher_type()
-
getDescription
final StrExp getDescription()
-
-
-
-