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-client@119444 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2015-10-06 12:45:25 +00:00
parent 3d7bd2746f
commit 0cbb5d9e0b
1 changed files with 4 additions and 5 deletions

View File

@ -14,7 +14,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;
import org.quartz.SchedulerException;
import org.slf4j.Logger;
@ -82,7 +81,6 @@ public class DefaultSmartExecutorProxy implements SmartExecutorProxy {
/** {@inheritDoc} */
@Override
@Deprecated
public PluginState getState(final String executionIdentifier)
throws PluginInstanceNotFoundException, ExecutorException {
@ -100,12 +98,12 @@ public class DefaultSmartExecutorProxy implements SmartExecutorProxy {
logger.debug("Failed to call getState() function");
throw again(e).asServiceException();
}
}
/** {@inheritDoc} */
@Override
@Deprecated
public PluginState getIterationState(final String executionIdentifier, final int iterationNumber)
throws PluginInstanceNotFoundException, ExecutorException {
@ -125,7 +123,7 @@ public class DefaultSmartExecutorProxy implements SmartExecutorProxy {
}
}
/** {@inheritDoc} */
/* * {@inheritDoc} * /
@Override
public PluginState getState(final PluginDeclaration pluginDeclaration, final String executionIdentifier)
throws PluginInstanceNotFoundException, ExecutorException {
@ -147,7 +145,7 @@ public class DefaultSmartExecutorProxy implements SmartExecutorProxy {
}
/** {@inheritDoc} */
/** {@inheritDoc} * /
@Override
public PluginState getIterationState(final PluginDeclaration pluginDeclaration, final String executionIdentifier, final int iterationNumber)
throws PluginInstanceNotFoundException, ExecutorException {
@ -167,5 +165,6 @@ public class DefaultSmartExecutorProxy implements SmartExecutorProxy {
throw again(e).asServiceException();
}
}
*/
}