@AsynchronousPreferred public class

BranchDeletedEvent

extends BranchChangedEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.bitbucket.event.ApplicationEvent
       ↳ com.atlassian.bitbucket.event.repository.RepositoryEvent
         ↳ com.atlassian.bitbucket.event.repository.AbstractRepositoryRefsChangedEvent
           ↳ com.atlassian.bitbucket.event.branch.BranchChangedEvent
             ↳ com.atlassian.bitbucket.event.branch.BranchDeletedEvent

Class Overview

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.

Summary

[Expand]
Inherited Fields
From class com.atlassian.bitbucket.event.branch.BranchChangedEvent
From class com.atlassian.bitbucket.event.repository.AbstractRepositoryRefsChangedEvent
From class java.util.EventObject
Public Constructors
BranchDeletedEvent(Object source, Repository repository, Branch branch)
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.event.branch.BranchChangedEvent
From class com.atlassian.bitbucket.event.repository.AbstractRepositoryRefsChangedEvent
From class com.atlassian.bitbucket.event.repository.RepositoryEvent
From class com.atlassian.bitbucket.event.ApplicationEvent
From class java.util.EventObject
From class java.lang.Object
From interface com.atlassian.bitbucket.event.repository.RepositoryRefsChangedEvent

Public Constructors

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