Class BranchProtectionRuleEvent
-
- All Implemented Interfaces:
-
io.typeflows.github.workflow.event.GitHubEvent
public final class BranchProtectionRuleEvent extends Context implements GitHubEvent
Represents a branch protection rule event in GitHub Actions workflows.
This event is triggered when branch protection rules are created, edited, or deleted. It provides access to the specific rule that was modified and the nature of the change. Use this event to respond to changes in repository security settings and branch policies.
-
-
Field Summary
Fields Modifier and Type Field Description private final Repositoryrepositoryprivate final Usersenderprivate final StrExpactionprivate final BranchProtectionRuleruleprivate final StrExpchangesprivate final Stringprefix
-
Constructor Summary
Constructors Constructor Description BranchProtectionRuleEvent(String prefix)
-
Method Summary
Modifier and Type Method Description RepositorygetRepository()UsergetSender()final StrExpgetAction()final BranchProtectionRulegetRule()final StrExpgetChanges()final StringgetPrefix()-
-
Constructor Detail
-
BranchProtectionRuleEvent
BranchProtectionRuleEvent(String prefix)
-
-
Method Detail
-
getRepository
Repository getRepository()
-
getRule
final BranchProtectionRule getRule()
-
getChanges
final StrExp getChanges()
-
-
-
-