refs #521: Support Unscheduling of repetitive task on SmartExecutor

https://support.d4science.org/issues/521
Added unschedule API

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/vre-management/smart-executor-api@119014 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2015-09-24 08:39:27 +00:00
parent 97fb6fc64c
commit 1eb0cc332f
1 changed files with 12 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import org.gcube.vremanagement.executor.exception.LaunchException;
import org.gcube.vremanagement.executor.exception.PluginInstanceNotFoundException;
import org.gcube.vremanagement.executor.exception.PluginNotFoundException;
import org.gcube.vremanagement.executor.plugin.PluginState;
import org.quartz.SchedulerException;
/**
* Service Endpoint Interface
@ -48,6 +49,17 @@ public interface SmartExecutor {
InputsNullException, PluginNotFoundException,
LaunchException, ExecutorException;
/**
* The method use the provided UUID as String to unschedule a previous
* scheduled task.
* @param executionIdentifier UUID as String which identify the execution
* @throws Exception if there is no execution identified by the provided
* UUID execution identifier as String
*/
@SOAPBinding(parameterStyle=ParameterStyle.WRAPPED)
public void unSchedule(String executionIdentifier) throws SchedulerException;
/**
* The method use the provided UUID as String to retrieve the status of the
* associated execution