Cleaning API
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/vre-management/smart-executor-api@117706 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a87b7d4e03
commit
811a751c49
|
@ -74,16 +74,5 @@ public abstract class PersistenceConnector implements PluginStateNotification {
|
|||
public abstract PluginState getLastPluginInstanceState(UUID uuid)
|
||||
throws Exception;
|
||||
|
||||
/**
|
||||
* Persist the new state of plugin
|
||||
* @param uuid the UUID which identify the current execution
|
||||
* @param timestamp the time of the new {@link PluginState}
|
||||
* @param pluginDeclaration the pluginDeclaration
|
||||
* @param pluginState the {@link PluginState} value
|
||||
* @throws Exception if fails
|
||||
*/
|
||||
public abstract void addEvolution(UUID uuid, int lauchedtimes,
|
||||
long timestamp, String pluginName, PluginState pluginState)
|
||||
throws Exception;
|
||||
|
||||
}
|
||||
|
|
|
@ -11,8 +11,16 @@ import java.util.UUID;
|
|||
*/
|
||||
public interface PluginStateNotification {
|
||||
|
||||
public void pluginStateEvolution(UUID uuid, int iteration,
|
||||
long timestamp, String pluginName, PluginState pluginState)
|
||||
throws Exception;
|
||||
|
||||
/**
|
||||
* Persist the new state of plugin
|
||||
* @param uuid the UUID which identify the current execution
|
||||
* @param timestamp the time of the new {@link PluginState}
|
||||
* @param pluginDeclaration the pluginDeclaration
|
||||
* @param pluginState the {@link PluginState} value
|
||||
* @throws Exception if fails
|
||||
*/
|
||||
public abstract void pluginStateEvolution(UUID uuid, int lauchedtimes,
|
||||
long timestamp, String pluginName, PluginState pluginState)
|
||||
throws Exception;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue