public interface ExternalSystemProgressNotificationManager
| Modifier and Type | Method and Description |
|---|---|
boolean |
addNotificationListener(ExternalSystemTaskId taskId,
ExternalSystemTaskNotificationListener listener)
Allows to register given listener within the current manager for listening events from the task with the target id.
|
boolean |
addNotificationListener(ExternalSystemTaskNotificationListener listener)
Allows to register given listener to listen events from all tasks.
|
static ExternalSystemProgressNotificationManager |
getInstance() |
boolean |
removeNotificationListener(ExternalSystemTaskNotificationListener listener)
Allows to de-register given listener from the current manager
|
boolean addNotificationListener(ExternalSystemTaskNotificationListener listener)
listener - listener to registertrue if given listener was not registered before for the given key;
false otherwiseboolean addNotificationListener(ExternalSystemTaskId taskId, ExternalSystemTaskNotificationListener listener)
taskId - target task's idlistener - listener to registertrue if given listener was not registered before for the given key;
false otherwiseboolean removeNotificationListener(ExternalSystemTaskNotificationListener listener)
listener - listener to de-registertrue if given listener was successfully de-registered;
false if given listener was not registered beforestatic ExternalSystemProgressNotificationManager getInstance()