2014-09-09 19:17:22 +02:00
|
|
|
package org.gcube.portlets.user.td.monitorwidget.client.background;
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
2015-02-13 14:39:34 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.monitor.BackgroundOperationMonitor;
|
2014-09-09 19:17:22 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
2017-05-30 12:13:29 +02:00
|
|
|
* @author Giancarlo Panichi
|
|
|
|
*
|
2014-09-09 19:17:22 +02:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
public interface MonitorBackgroundUpdaterListener {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Called when the list of opration is updated
|
2017-05-30 12:13:29 +02:00
|
|
|
*
|
|
|
|
* @param operationMonitorList Operation monitor list
|
2014-09-09 19:17:22 +02:00
|
|
|
*/
|
2015-02-13 14:39:34 +01:00
|
|
|
public void operationMonitorListUpdated(ArrayList<BackgroundOperationMonitor> operationMonitorList);
|
2014-09-09 19:17:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Called when operation is failed
|
2017-05-30 12:13:29 +02:00
|
|
|
*
|
|
|
|
* @param caught Error
|
2014-09-09 19:17:22 +02:00
|
|
|
*/
|
|
|
|
public void retrieveOperationMonitorListFailed(Throwable caught);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|