@AsynchronousPreferred @TransactionAware public class

RepositoryDeletedEvent

extends RepositoryEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.bitbucket.event.ApplicationEvent
       ↳ com.atlassian.bitbucket.event.repository.RepositoryEvent
         ↳ com.atlassian.bitbucket.event.repository.RepositoryDeletedEvent

Class Overview

Event that is raised when a repository is deleted

This event is internally audited with a HIGH priority.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
RepositoryDeletedEvent(Object source, Repository repository, Iterable<Integer> forkIds)
Public Methods
@Nonnull Iterable<Integer> getForkIds()
[Expand]
Inherited Methods
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

Public Constructors

public RepositoryDeletedEvent (Object source, Repository repository, Iterable<Integer> forkIds)

Public Methods

@Nonnull public Iterable<Integer> getForkIds ()

Returns
  • the IDs of all repositories that are forks of the repository being deleted