Package sonia.scm.repository
Class AbstractRepositoryRoleManager
java.lang.Object
sonia.scm.repository.AbstractRepositoryRoleManager
- All Implemented Interfaces:
Closeable
,AutoCloseable
,HandlerBase<RepositoryRole>
,Initable
,LastModifiedAware
,Manager<RepositoryRole>
,RepositoryRoleManager
Abstract base class for
RepositoryRoleManager
implementations. This class
implements the listener methods of the RepositoryRoleManager
interface.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
fireEvent
(HandlerEventType event, RepositoryRole repositoryRole) Creates a newRepositoryRoleEvent
and callsfireEvent(RepositoryRoleEvent)
.protected void
fireEvent
(HandlerEventType event, RepositoryRole repositoryRole, RepositoryRole oldRepositoryRole) Send aRepositoryRoleEvent
to theScmEventBus
.protected void
fireEvent
(RepositoryRoleEvent event) Send aRepositoryRoleEvent
to theScmEventBus
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface sonia.scm.HandlerBase
create, delete, modify
Methods inherited from interface sonia.scm.LastModifiedAware
getLastModified
-
Constructor Details
-
AbstractRepositoryRoleManager
public AbstractRepositoryRoleManager()
-
-
Method Details
-
fireEvent
protected void fireEvent(HandlerEventType event, RepositoryRole repositoryRole, RepositoryRole oldRepositoryRole) Send aRepositoryRoleEvent
to theScmEventBus
.- Parameters:
event
- type of change eventrepositoryRole
- repositoryRole that has changedoldRepositoryRole
- old repositoryRole
-
fireEvent
Creates a newRepositoryRoleEvent
and callsfireEvent(RepositoryRoleEvent)
.- Parameters:
repositoryRole
- repositoryRole that has changedevent
- type of change event
-
fireEvent
Send aRepositoryRoleEvent
to theScmEventBus
.- Parameters:
event
- repositoryRole event- Since:
- 1.48
-