Class 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:
  • Constructor Details

    • RepositoryDeletedEvent

      public RepositoryDeletedEvent(@Nonnull Object source, @Nonnull Repository repository, @Nonnull Iterable<Integer> forkIds)
      Parameters:
      source - the object on which the event initially occurred
      repository - repository that was deleted
      forkIds - IDs of forks
      Since:
      5.6
  • Method Details

    • getForkIds

      @Nonnull public Set<Integer> getForkIds()
      Returns:
      the IDs of all repositories that are forks of the repository being deleted
      Since:
      8.0