Package sonia.scm.repository
Class RepositoryRoleModificationEvent
java.lang.Object
sonia.scm.event.AbstractHandlerEvent<RepositoryRole>
sonia.scm.repository.RepositoryRoleEvent
sonia.scm.repository.RepositoryRoleModificationEvent
- All Implemented Interfaces:
HandlerEvent<RepositoryRole>
,ModificationHandlerEvent<RepositoryRole>
@Event
public class RepositoryRoleModificationEvent
extends RepositoryRoleEvent
implements ModificationHandlerEvent<RepositoryRole>
Event which is fired whenever a repository role is modified.
- Since:
- 2.0
-
Constructor Summary
ConstructorsConstructorDescriptionRepositoryRoleModificationEvent
(HandlerEventType eventType, RepositoryRole item, RepositoryRole itemBeforeModification) Constructs a newRepositoryRoleModificationEvent
. -
Method Summary
Modifier and TypeMethodDescriptionReturns item, before it was modified.Methods inherited from class sonia.scm.event.AbstractHandlerEvent
equals, getEventType, getItem, getOldItem, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface sonia.scm.event.HandlerEvent
getEventType, getItem, getOldItem
-
Constructor Details
-
RepositoryRoleModificationEvent
public RepositoryRoleModificationEvent(HandlerEventType eventType, RepositoryRole item, RepositoryRole itemBeforeModification) Constructs a newRepositoryRoleModificationEvent
.- Parameters:
eventType
- type of eventitem
- changed repository roleitemBeforeModification
- changed repository role before it was modified
-
-
Method Details
-
getItemBeforeModification
Description copied from interface:ModificationHandlerEvent
Returns item, before it was modified.- Specified by:
getItemBeforeModification
in interfaceModificationHandlerEvent<RepositoryRole>
-