Class RepositoryDeleteBlockedEvent

All Implemented Interfaces:
Serializable

@AsynchronousPreferred public class RepositoryDeleteBlockedEvent extends RepositoryEvent
Raised when a user is blocked from deleting a repository due to the repository delete policy. This event is not fired when the user has permissions lower than REPO_ADMIN.
Since:
7.4
See Also:
  • Constructor Details

    • RepositoryDeleteBlockedEvent

      public RepositoryDeleteBlockedEvent(@Nonnull Object source, @Nonnull Repository repository, @Nonnull Permission userRole, boolean isPersonalRepo, boolean isPublicRepo)
  • Method Details

    • getIsPersonalRepo

      public boolean getIsPersonalRepo()
    • getIsPublicRepo

      public boolean getIsPublicRepo()
    • getUserRole

      @Nonnull public Permission getUserRole()