public class

BranchDeletionRequestedEvent

extends BranchChangeRequestedEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.stash.event.StashEvent
       ↳ com.atlassian.stash.branch.BranchChangeRequestedEvent
         ↳ com.atlassian.stash.branch.BranchDeletionRequestedEvent

Class Overview

An event that is raised just before a branch is deleted through the branch-utils plugin. Branches deleted through pushes (ref updates) 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.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
BranchDeletionRequestedEvent(Object source, Repository repository, Branch branch, CancelState cancelState)
[Expand]
Inherited Methods
From class com.atlassian.stash.branch.BranchChangeRequestedEvent
From class com.atlassian.stash.event.StashEvent
From class java.util.EventObject
From class java.lang.Object
From interface com.atlassian.stash.util.CancelState

Public Constructors

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