Package sonia.scm.repository
Class RepositoryModificationEvent
java.lang.Object
sonia.scm.event.AbstractHandlerEvent<Repository>
sonia.scm.repository.RepositoryEvent
sonia.scm.repository.RepositoryModificationEvent
- All Implemented Interfaces:
HandlerEvent<Repository>
,ModificationHandlerEvent<Repository>
@Event
public final class RepositoryModificationEvent
extends RepositoryEvent
implements ModificationHandlerEvent<Repository>
Event which is fired whenever a repository is modified.
- Since:
- 1.48
-
Constructor Summary
ConstructorsConstructorDescriptionRepositoryModificationEvent
(HandlerEventType eventType, Repository item, Repository itemBeforeModification) Constructs a newRepositoryModificationEvent
. -
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
-
RepositoryModificationEvent
public RepositoryModificationEvent(HandlerEventType eventType, Repository item, Repository itemBeforeModification) Constructs a newRepositoryModificationEvent
.- Parameters:
eventType
- event typeitem
- changed repositoryitemBeforeModification
- repository before it was modified
-
-
Method Details
-
getItemBeforeModification
Description copied from interface:ModificationHandlerEvent
Returns item, before it was modified.- Specified by:
getItemBeforeModification
in interfaceModificationHandlerEvent<Repository>
-