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
This commit is contained in:
parent
7faafe704c
commit
51ef7a2e74
|
@ -12,7 +12,6 @@ import org.gcube.vremanagement.executor.exception.InputsNullException;
|
||||||
import org.gcube.vremanagement.executor.exception.LaunchException;
|
import org.gcube.vremanagement.executor.exception.LaunchException;
|
||||||
import org.gcube.vremanagement.executor.exception.PluginInstanceNotFoundException;
|
import org.gcube.vremanagement.executor.exception.PluginInstanceNotFoundException;
|
||||||
import org.gcube.vremanagement.executor.exception.PluginNotFoundException;
|
import org.gcube.vremanagement.executor.exception.PluginNotFoundException;
|
||||||
import org.gcube.vremanagement.executor.plugin.PluginDeclaration;
|
|
||||||
import org.gcube.vremanagement.executor.plugin.PluginState;
|
import org.gcube.vremanagement.executor.plugin.PluginState;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -71,7 +70,6 @@ public interface SmartExecutor {
|
||||||
* UUID execution identifier as String
|
* UUID execution identifier as String
|
||||||
*/
|
*/
|
||||||
@SOAPBinding(parameterStyle=ParameterStyle.WRAPPED)
|
@SOAPBinding(parameterStyle=ParameterStyle.WRAPPED)
|
||||||
@Deprecated
|
|
||||||
public PluginState getState(String executionIdentifier)
|
public PluginState getState(String executionIdentifier)
|
||||||
throws PluginInstanceNotFoundException, ExecutorException;
|
throws PluginInstanceNotFoundException, ExecutorException;
|
||||||
|
|
||||||
|
@ -85,23 +83,22 @@ public interface SmartExecutor {
|
||||||
* UUID execution identifier as String
|
* UUID execution identifier as String
|
||||||
*/
|
*/
|
||||||
@SOAPBinding(parameterStyle=ParameterStyle.WRAPPED)
|
@SOAPBinding(parameterStyle=ParameterStyle.WRAPPED)
|
||||||
@Deprecated
|
|
||||||
public PluginState getIterationState(String executionIdentifier, int iterationNumber)
|
public PluginState getIterationState(String executionIdentifier, int iterationNumber)
|
||||||
throws PluginInstanceNotFoundException, ExecutorException;
|
throws PluginInstanceNotFoundException, ExecutorException;
|
||||||
|
|
||||||
/**
|
/* *
|
||||||
* The method use the provided UUID as String to retrieve the status of the
|
* The method use the provided UUID as String to retrieve the status of the
|
||||||
* associated execution
|
* associated execution
|
||||||
* @param executionIdentifier UUID as String which identify the execution
|
* @param executionIdentifier UUID as String which identify the execution
|
||||||
* @return {@link PluginState} which contains the state of the execution
|
* @return {@link PluginState} which contains the state of the execution
|
||||||
* @throws Exception if there is no execution identified by the provided
|
* @throws Exception if there is no execution identified by the provided
|
||||||
* UUID execution identifier as String
|
* UUID execution identifier as String
|
||||||
*/
|
* /
|
||||||
@SOAPBinding(parameterStyle=ParameterStyle.WRAPPED)
|
@SOAPBinding(parameterStyle=ParameterStyle.WRAPPED)
|
||||||
public PluginState getState(PluginDeclaration pluginDeclaration, String executionIdentifier)
|
public PluginState getState(PluginDeclaration pluginDeclaration, String executionIdentifier)
|
||||||
throws PluginInstanceNotFoundException, ExecutorException;
|
throws PluginInstanceNotFoundException, ExecutorException;
|
||||||
|
|
||||||
/**
|
/* *
|
||||||
* The method use the provided UUID as String and the iteration number
|
* The method use the provided UUID as String and the iteration number
|
||||||
* to retrieve the status of the associated execution
|
* to retrieve the status of the associated execution
|
||||||
* @param executionIdentifier UUID as String which identify the 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
|
* @return {@link PluginState} which contains the state of the execution
|
||||||
* @throws Exception if there is no execution identified by the provided
|
* @throws Exception if there is no execution identified by the provided
|
||||||
* UUID execution identifier as String
|
* UUID execution identifier as String
|
||||||
*/
|
* /
|
||||||
@SOAPBinding(parameterStyle=ParameterStyle.WRAPPED)
|
@SOAPBinding(parameterStyle=ParameterStyle.WRAPPED)
|
||||||
public PluginState getIterationState(PluginDeclaration pluginDeclaration, String executionIdentifier, int iterationNumber)
|
public PluginState getIterationState(PluginDeclaration pluginDeclaration, String executionIdentifier, int iterationNumber)
|
||||||
throws PluginInstanceNotFoundException, ExecutorException;
|
throws PluginInstanceNotFoundException, ExecutorException;
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue