public class TaskEventHandler extends Object
EventListener instances and allows to to publish events to
them.| 构造器和说明 |
|---|
TaskEventHandler() |
public void subscribe(EventListener<TaskEvent> listener, Class<? extends TaskEvent> eventType)
public void publish(TaskEvent event)
event - The event to publish.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.