Class WorkflowDispatchEvent
-
- All Implemented Interfaces:
-
io.typeflows.github.workflow.event.GitHubEvent
public final class WorkflowDispatchEvent extends Context implements GitHubEvent
Represents a workflow dispatch event in GitHub Actions workflows.
This event is triggered when workflows are manually dispatched using the GitHub API or the "Run workflow" button in the GitHub web interface. It provides access to custom input parameters and the specific branch or tag reference the workflow should run against. Use this event to create manually triggerable workflows with configurable parameters for deployment, maintenance, or administrative tasks.
-
-
Constructor Summary
Constructors Constructor Description WorkflowDispatchEvent(String prefix)
-
Method Summary
Modifier and Type Method Description RepositorygetRepository()UsergetSender()final StrExpgetWorkflow()final StrExpgetInputs()final StrExpgetRef()final StringgetPrefix()-
-
Constructor Detail
-
WorkflowDispatchEvent
WorkflowDispatchEvent(String prefix)
-
-
Method Detail
-
getRepository
Repository getRepository()
-
getWorkflow
final StrExp getWorkflow()
-
-
-
-