@Deprecated public abstract class

BranchChangeRequestedEvent

extends RefChangeRequestedEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.bitbucket.event.ApplicationEvent
       ↳ com.atlassian.bitbucket.event.repository.RefChangeRequestedEvent
         ↳ com.atlassian.bitbucket.event.branch.BranchChangeRequestedEvent
Known Direct Subclasses

This class is deprecated.
in 5.0 for removal in 6.0. Listeners for BranchChangeRequestEvent or one of its subclasses should implement a PreRepositoryHook<BranchHookRequest> and check the request for the appropriate trigger(s)

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
BranchChangeRequestedEvent(Object source, Repository repository, CancelState cancelState, Branch branch)
Public Methods
@Nonnull Branch getBranch()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.event.repository.RefChangeRequestedEvent
From class com.atlassian.bitbucket.event.ApplicationEvent
From class java.util.EventObject
From class java.lang.Object
From interface com.atlassian.bitbucket.util.CancelState

Public Constructors

public BranchChangeRequestedEvent (Object source, Repository repository, CancelState cancelState, Branch branch)

Public Methods

@Nonnull public Branch getBranch ()