refs #521: Support Unscheduling of repetitive task on SmartExecutor

https://support.d4science.org/issues/521

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/vre-management/smart-executor-api@119022 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2015-09-25 09:21:01 +00:00
parent 1eb0cc332f
commit ecd8ef4a25
1 changed files with 4 additions and 3 deletions

View File

@ -13,7 +13,6 @@ 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
@ -51,13 +50,15 @@ public interface SmartExecutor {
/**
* The method use the provided UUID as String to unschedule a previous
* scheduled task.
* scheduled task and stop the current execution (if any).
* @param executionIdentifier UUID as String which identify the execution
* @return return true if the current execution correctly unscheduled and
* stopped. False otherwise.
* @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;
public boolean unSchedule(String executionIdentifier) throws Exception;
/**