2017-05-17 16:45:38 +02:00
|
|
|
package org.gcube.data.transfer.service.transfers.engine;
|
|
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
2017-05-25 15:55:49 +02:00
|
|
|
import org.gcube.data.transfer.model.ExecutionReport;
|
2017-05-17 16:45:38 +02:00
|
|
|
import org.gcube.data.transfer.model.PluginDescription;
|
|
|
|
import org.gcube.data.transfer.model.PluginInvocation;
|
2017-05-26 12:32:46 +02:00
|
|
|
import org.gcube.data.transfer.plugin.fails.PluginException;
|
2017-05-17 16:45:38 +02:00
|
|
|
import org.gcube.data.transfer.service.transfers.engine.faults.PluginNotFoundException;
|
|
|
|
|
|
|
|
public interface PluginManager {
|
|
|
|
|
|
|
|
public Map<String,PluginDescription> getInstalledPlugins();
|
2017-05-26 12:32:46 +02:00
|
|
|
public ExecutionReport execute(PluginInvocation invocation)throws PluginException, PluginNotFoundException;
|
|
|
|
public void shutdown();
|
2017-05-17 16:45:38 +02:00
|
|
|
}
|