@Deprecated public class


extends TagChangeRequestedEvent
   ↳ java.util.EventObject
     ↳ com.atlassian.bitbucket.event.ApplicationEvent
       ↳ com.atlassian.bitbucket.event.repository.RefChangeRequestedEvent
         ↳ com.atlassian.bitbucket.event.tag.TagChangeRequestedEvent
           ↳ com.atlassian.bitbucket.event.tag.TagDeletionRequestedEvent

This class is deprecated.
in 5.0 for removal in 6.0. Listeners for TagDeletionRequestEvent or one of its subclasses should implement a PreRepositoryHook and check the request for the TAG_DELETE trigger

Class Overview

An event that is raised just before a tag is deleted using the UI or REST. Tags deleted by pushing will not trigger this event.

This event is cancelable. A listener may prevent the tag from being deleted by canceling this event. Throwing an exception will not prevent the tag from being deleted; the exception will be logged and ignored.


Inherited Fields
From class java.util.EventObject
Public Constructors
TagDeletionRequestedEvent(Object source, Repository repository, Tag tag, CancelState cancelState)
Inherited Methods
From class com.atlassian.bitbucket.event.tag.TagChangeRequestedEvent
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 TagDeletionRequestedEvent (Object source, Repository repository, Tag tag, CancelState cancelState)