Package sonia.scm.event
Interface HandlerEvent<T>
- Type Parameters:
T
-
- All Known Subinterfaces:
ModificationHandlerEvent<T>
- All Known Implementing Classes:
AbstractHandlerEvent
,GroupEvent
,GroupModificationEvent
,NamespaceEvent
,NamespaceModificationEvent
,RepositoryEvent
,RepositoryModificationEvent
,RepositoryRoleEvent
,RepositoryRoleModificationEvent
,UserEvent
,UserModificationEvent
public interface HandlerEvent<T>
Base class for handler events.
- Since:
- 1.23
-
Method Summary
Modifier and TypeMethodDescriptiongetItem()
Returns the item which has changed.Returns old item or null.
-
Method Details
-
getEventType
HandlerEventType getEventType() -
getItem
T getItem()Returns the item which has changed. -
getOldItem
T getOldItem()Returns old item or null. This method returns always expect for modification events.- Returns:
- old item or null
- Since:
- 2.0.0
-