Interface IWorkItemLifecycleEventPublisher
public interface IWorkItemLifecycleEventPublisher
Responsible for publishing
IWorkItemLifecycleEvent
s.-
Method Summary
Modifier and TypeMethodDescriptionReturns theList
ofIWorkItemLifecycleEventSubscriber
s that wish to listen forIWorkItemLifecycleEvent
s.void
publish
(IWorkItemLifecycleEvent event) PublishesIWorkItemLifecycleEvent
s to registeredIWorkItemLifecycleEventSubscriber
svoid
setSubscribers
(List<IWorkItemLifecycleEventSubscriber> subscribers) Sets theList
ofIWorkItemLifecycleEventSubscriber
s that wish to listen forIWorkItemLifecycleEvent
s.
-
Method Details
-
publish
PublishesIWorkItemLifecycleEvent
s to registeredIWorkItemLifecycleEventSubscriber
s- Parameters:
event
- theIWorkItemLifecycleEvent
being published
-
setSubscribers
Sets theList
ofIWorkItemLifecycleEventSubscriber
s that wish to listen forIWorkItemLifecycleEvent
s.- Parameters:
subscribers
- theList
ofIWorkItemLifecycleEventSubscriber
s that wish to listen forIWorkItemLifecycleEvent
s.
-
getSubscribers
List<IWorkItemLifecycleEventSubscriber> getSubscribers()Returns theList
ofIWorkItemLifecycleEventSubscriber
s that wish to listen forIWorkItemLifecycleEvent
s.- Returns:
- the
List
ofIWorkItemLifecycleEventSubscriber
s that wish to listen forIWorkItemLifecycleEvent
s.
-