refs #89: Save Task Evolution on NoSQL global DB
https://support.d4science.org/issues/89 Implementing Feature git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/vre-management/smart-executor-api@117712 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
811a751c49
commit
ca7f40069e
|
@ -57,6 +57,7 @@ public interface SmartExecutor {
|
|||
* UUID execution identifier as String
|
||||
*/
|
||||
@SOAPBinding(parameterStyle=ParameterStyle.WRAPPED)
|
||||
@Deprecated
|
||||
public PluginState getState(String executionIdentifier)
|
||||
throws PluginInstanceNotFoundException, ExecutorException;
|
||||
|
||||
|
@ -70,6 +71,32 @@ 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(String pluginName, 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
|
||||
* @param iterationNumber iteration number
|
||||
* @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(String pluginName, String executionIdentifier, int iterationNumber)
|
||||
throws PluginInstanceNotFoundException, ExecutorException;
|
||||
}
|
||||
|
|
|
@ -13,6 +13,7 @@ import org.gcube.vremanagement.executor.plugin.PluginStateNotification;
|
|||
* Model the connector which create or open the connection to DB
|
||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class PersistenceConnector implements PluginStateNotification {
|
||||
|
||||
protected static PersistenceConnector persistenceConnector;
|
||||
|
|
Loading…
Reference in New Issue