java.lang.Object | |||||
↳ | java.util.EventObject | ||||
↳ | com.atlassian.bitbucket.event.ApplicationEvent | ||||
↳ | com.atlassian.bitbucket.event.repository.RefChangeRequestedEvent | ||||
↳ | com.atlassian.bitbucket.event.branch.BranchChangeRequestedEvent | ||||
↳ | com.atlassian.bitbucket.event.branch.BranchDeletionRequestedEvent |
This class is deprecated.
in 5.0 for removal in 6.0. Listeners for BranchCreationRequestEvent
or one of its subclasses
should implement a PreRepositoryHook<BranchDeletionHookRequest>
instead.
An event that is raised just before a branch is deleted using the UI or REST.
Branches deleted by pushing will not trigger this event.
This event is cancelable
. A listener may prevent the branch
from being deleted by canceling
this event.
Throwing an exception will not prevent the branch from being created; the exception will be logged and ignored.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.util.EventObject
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.bitbucket.event.branch.BranchChangeRequestedEvent
| |||||||||||
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
|