Class RepositoryDeletedEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.repository.RepositoryEvent
com.atlassian.bitbucket.event.repository.RepositoryDeletedEvent
- All Implemented Interfaces:
Serializable
@AsynchronousPreferred
@TransactionAware
public class RepositoryDeletedEvent
extends RepositoryEvent
Event that is raised when a repository is deleted
This event is internally audited with CoverageLevel.BASE
level.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionRepositoryDeletedEvent
(Object source, Repository repository, Iterable<Integer> forkIds) -
Method Summary
Methods inherited from class com.atlassian.bitbucket.event.repository.RepositoryEvent
getRepository
Methods inherited from class com.atlassian.bitbucket.event.ApplicationEvent
getDate, getUser
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
RepositoryDeletedEvent
public RepositoryDeletedEvent(@Nonnull Object source, @Nonnull Repository repository, @Nonnull Iterable<Integer> forkIds) - Parameters:
source
- the object on which the event initially occurredrepository
- repository that was deletedforkIds
- IDs of forks- Since:
- 5.6
-
-
Method Details
-
getForkIds
- Returns:
- the IDs of all repositories that are forks of the repository being deleted
- Since:
- 8.0
-