2015-02-13 14:39:34 +01:00
|
|
|
package org.gcube.portlets.user.td.monitorwidget.client.background;
|
|
|
|
|
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.monitor.OperationMonitor;
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
2017-05-30 12:13:29 +02:00
|
|
|
* @author Giancarlo Panichi
|
|
|
|
*
|
2015-02-13 14:39:34 +01:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
public interface MonitorBackgroundInfoUpdaterListener {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Called when the operation is updated
|
2017-05-30 12:13:29 +02:00
|
|
|
*
|
|
|
|
* @param operationMonitor Operation monitor
|
2015-02-13 14:39:34 +01:00
|
|
|
*/
|
|
|
|
public void backgroundOperationMonitorUpdated(OperationMonitor operationMonitor);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Called when operation is failed
|
2017-05-30 12:13:29 +02:00
|
|
|
*
|
|
|
|
* @param caught Error
|
2015-02-13 14:39:34 +01:00
|
|
|
*/
|
|
|
|
public void retrieveBackgroundOperationMonitorFailed(Throwable caught);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|