@AsynchronousPreferred public class

BranchCreatedEvent

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.BranchCreatedEvent

Class Overview

An event that is raised when a branch is created using the UI or REST. Branches created 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
BranchCreatedEvent(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 BranchCreatedEvent (Object source, Repository repository, Branch branch)