refs #579: Use Persistence to persist Scheduled Task configuration on smart-executor
https://support.d4science.org/issues/579 Substituted argument "String pluginName" with "PluginDeclaration pluginDeclaration" git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/vre-management/smart-executor-api@119439 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
4b39c6845c
commit
7faafe704c
|
@ -12,6 +12,7 @@ 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;
|
||||
|
||||
/**
|
||||
|
@ -97,7 +98,7 @@ public interface SmartExecutor {
|
|||
* UUID execution identifier as String
|
||||
*/
|
||||
@SOAPBinding(parameterStyle=ParameterStyle.WRAPPED)
|
||||
public PluginState getState(String pluginName, String executionIdentifier)
|
||||
public PluginState getState(PluginDeclaration pluginDeclaration, String executionIdentifier)
|
||||
throws PluginInstanceNotFoundException, ExecutorException;
|
||||
|
||||
/**
|
||||
|
@ -110,6 +111,6 @@ public interface SmartExecutor {
|
|||
* UUID execution identifier as String
|
||||
*/
|
||||
@SOAPBinding(parameterStyle=ParameterStyle.WRAPPED)
|
||||
public PluginState getIterationState(String pluginName, String executionIdentifier, int iterationNumber)
|
||||
public PluginState getIterationState(PluginDeclaration pluginDeclaration, String executionIdentifier, int iterationNumber)
|
||||
throws PluginInstanceNotFoundException, ExecutorException;
|
||||
}
|
||||
|
|
|
@ -33,5 +33,40 @@ public class PluginStateEvolution {
|
|||
this.pluginDeclaration = pluginDeclaration;
|
||||
this.pluginState = pluginState;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the uuid
|
||||
*/
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the iteration
|
||||
*/
|
||||
public int getIteration() {
|
||||
return iteration;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the timestamp
|
||||
*/
|
||||
public long getTimestamp() {
|
||||
return timestamp;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the pluginDeclaration
|
||||
*/
|
||||
public PluginDeclaration getPluginDeclaration() {
|
||||
return pluginDeclaration;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the pluginState
|
||||
*/
|
||||
public PluginState getPluginState() {
|
||||
return pluginState;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue