Class BranchDeletedEvent

All Implemented Interfaces:
RepositoryRefsChangedEvent, Serializable

@AsynchronousPreferred public class BranchDeletedEvent extends BranchChangedEvent
An event that is raised when a branch is deleted using the UI (e.g. from the branches page, or via deleting the source branch of a pull request when merging it) or using the REST API.

Branches deleted by pushing will not trigger this event.

Listeners that are interested in all repository changes should listen for RepositoryRefsChangedEvents instead.

See Also:
  • Constructor Details

    • BranchDeletedEvent

      public BranchDeletedEvent(@Nonnull Object source, @Nonnull Repository repository, @Nonnull Branch branch)