Class DeleteEvent
-
- All Implemented Interfaces:
-
io.typeflows.github.workflow.event.GitHubEvent
public final class DeleteEvent extends Context implements GitHubEvent
Represents a delete event in GitHub Actions workflows.
This event is triggered when a Git reference (branch or tag) is deleted from a repository. It provides information about the deleted reference, including its name and type. Use this event to automate cleanup processes when branches or tags are removed, such as cleaning up associated resources or notifying team members.
-
-
Field Summary
Fields Modifier and Type Field Description private final Repositoryrepositoryprivate final Usersenderprivate final StrExprefprivate final StrExpref_typeprivate final StrExppusher_typeprivate final Stringprefix
-
Constructor Summary
Constructors Constructor Description DeleteEvent(String prefix)
-
Method Summary
Modifier and Type Method Description RepositorygetRepository()UsergetSender()final StrExpgetRef()final StrExpgetRef_type()final StrExpgetPusher_type()final StringgetPrefix()-
-
Constructor Detail
-
DeleteEvent
DeleteEvent(String prefix)
-
-
Method Detail
-
getRepository
Repository getRepository()
-
getRef_type
final StrExp getRef_type()
-
getPusher_type
final StrExp getPusher_type()
-
-
-
-