public class TaskCallbackDispatcher extends Object implements ITaskListenerSupport, ITaskListener
ITaskListenerSupport.| Constructor and Description |
|---|
TaskCallbackDispatcher(Object pOwner) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTaskListener(ITaskListener listener) |
void |
attach(ITaskListenerSupport support) |
void |
clear() |
void |
detach(ITaskListenerSupport support) |
Object |
getOwner() |
boolean |
isEmpty() |
void |
removeTaskListener(ITaskListener listener) |
void |
taskCancelled(Object task) |
void |
taskFailed(Object task,
ExecutionException exception) |
void |
taskFinished(Object task,
Object result) |
void |
taskStarted(Object task) |
public TaskCallbackDispatcher(Object pOwner)
public void addTaskListener(ITaskListener listener)
addTaskListener in interface ITaskListenerSupportpublic void attach(ITaskListenerSupport support)
public void clear()
public void detach(ITaskListenerSupport support)
public Object getOwner()
public boolean isEmpty()
public void removeTaskListener(ITaskListener listener)
removeTaskListener in interface ITaskListenerSupportpublic void taskCancelled(Object task)
taskCancelled in interface ITaskListenerpublic void taskFailed(Object task, ExecutionException exception)
taskFailed in interface ITaskListenerpublic void taskFinished(Object task, Object result)
taskFinished in interface ITaskListenerpublic void taskStarted(Object task)
taskStarted in interface ITaskListenerCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.