diff --git a/src/main/java/org/gcube/vremanagement/executor/api/SmartExecutor.java b/src/main/java/org/gcube/vremanagement/executor/api/SmartExecutor.java index d5f81ab..5410c05 100644 --- a/src/main/java/org/gcube/vremanagement/executor/api/SmartExecutor.java +++ b/src/main/java/org/gcube/vremanagement/executor/api/SmartExecutor.java @@ -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