From 51ef7a2e74a85857f445aa3798aefd23226d2bd3 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Tue, 6 Oct 2015 12:45:17 +0000 Subject: [PATCH] refs #579: Use Persistence to persist Scheduled Task configuration on smart-executor https://support.d4science.org/issues/579 Removed PluginDeclaration parameter which is not needed git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/vre-management/smart-executor-api@119443 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../vremanagement/executor/api/SmartExecutor.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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 cf6eedc..4cc12d0 100644 --- a/src/main/java/org/gcube/vremanagement/executor/api/SmartExecutor.java +++ b/src/main/java/org/gcube/vremanagement/executor/api/SmartExecutor.java @@ -12,7 +12,6 @@ import org.gcube.vremanagement.executor.exception.InputsNullException; 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.PluginDeclaration; import org.gcube.vremanagement.executor.plugin.PluginState; /** @@ -71,7 +70,6 @@ public interface SmartExecutor { * UUID execution identifier as String */ @SOAPBinding(parameterStyle=ParameterStyle.WRAPPED) - @Deprecated public PluginState getState(String executionIdentifier) throws PluginInstanceNotFoundException, ExecutorException; @@ -85,23 +83,22 @@ public interface SmartExecutor { * UUID execution identifier as String */ @SOAPBinding(parameterStyle=ParameterStyle.WRAPPED) - @Deprecated public PluginState getIterationState(String executionIdentifier, int iterationNumber) throws PluginInstanceNotFoundException, ExecutorException; - /** + /* * * The method use the provided UUID as String to retrieve the status of the * associated execution * @param executionIdentifier UUID as String which identify the execution * @return {@link PluginState} which contains the state of the execution * @throws Exception if there is no execution identified by the provided * UUID execution identifier as String - */ + * / @SOAPBinding(parameterStyle=ParameterStyle.WRAPPED) public PluginState getState(PluginDeclaration pluginDeclaration, String executionIdentifier) throws PluginInstanceNotFoundException, ExecutorException; - /** + /* * * The method use the provided UUID as String and the iteration number * to retrieve the status of the associated execution * @param executionIdentifier UUID as String which identify the execution @@ -109,8 +106,9 @@ public interface SmartExecutor { * @return {@link PluginState} which contains the state of the execution * @throws Exception if there is no execution identified by the provided * UUID execution identifier as String - */ + * / @SOAPBinding(parameterStyle=ParameterStyle.WRAPPED) public PluginState getIterationState(PluginDeclaration pluginDeclaration, String executionIdentifier, int iterationNumber) throws PluginInstanceNotFoundException, ExecutorException; + */ }