Class RepositoryDeleteBlockedEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.repository.RepositoryEvent
com.atlassian.bitbucket.event.repository.RepositoryDeleteBlockedEvent
- All Implemented Interfaces:
Serializable
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:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionRepositoryDeleteBlockedEvent
(Object source, Repository repository, Permission userRole, boolean isPersonalRepo, boolean isPublicRepo) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
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
-
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
-