public class DefaultSmartExecutorProxy extends Object implements SmartExecutorProxy
Constructor and Description |
---|
DefaultSmartExecutorProxy(org.gcube.common.clients.delegates.ProxyDelegate<org.gcube.vremanagement.executor.api.SmartExecutor> proxyDelegate) |
Modifier and Type | Method and Description |
---|---|
org.gcube.vremanagement.executor.plugin.PluginState |
getIterationState(String executionIdentifier,
int iterationNumber) |
org.gcube.vremanagement.executor.plugin.PluginState |
getState(String executionIdentifier) |
String |
launch(org.gcube.vremanagement.executor.api.types.LaunchParameter launchParameter) |
boolean |
stop(String executionIdentifier) |
boolean |
unSchedule(String executionIdentifier) |
boolean |
unSchedule(String executionIdentifier,
boolean globally) |
public DefaultSmartExecutorProxy(org.gcube.common.clients.delegates.ProxyDelegate<org.gcube.vremanagement.executor.api.SmartExecutor> proxyDelegate)
public String launch(org.gcube.vremanagement.executor.api.types.LaunchParameter launchParameter) throws org.gcube.vremanagement.executor.exception.InputsNullException, org.gcube.vremanagement.executor.exception.PluginNotFoundException, org.gcube.vremanagement.executor.exception.LaunchException, org.gcube.vremanagement.executor.exception.ExecutorException
launch
in interface org.gcube.vremanagement.executor.api.SmartExecutor
org.gcube.vremanagement.executor.exception.InputsNullException
org.gcube.vremanagement.executor.exception.PluginNotFoundException
org.gcube.vremanagement.executor.exception.LaunchException
org.gcube.vremanagement.executor.exception.ExecutorException
public boolean unSchedule(String executionIdentifier) throws org.gcube.vremanagement.executor.exception.ExecutorException
unSchedule
in interface org.gcube.vremanagement.executor.api.SmartExecutor
org.gcube.vremanagement.executor.exception.ExecutorException
public boolean unSchedule(String executionIdentifier, boolean globally) throws org.gcube.vremanagement.executor.exception.ExecutorException
unSchedule
in interface org.gcube.vremanagement.executor.api.SmartExecutor
org.gcube.vremanagement.executor.exception.ExecutorException
public org.gcube.vremanagement.executor.plugin.PluginState getState(String executionIdentifier) throws org.gcube.vremanagement.executor.exception.PluginInstanceNotFoundException, org.gcube.vremanagement.executor.exception.ExecutorException
getState
in interface org.gcube.vremanagement.executor.api.SmartExecutor
org.gcube.vremanagement.executor.exception.PluginInstanceNotFoundException
org.gcube.vremanagement.executor.exception.ExecutorException
public org.gcube.vremanagement.executor.plugin.PluginState getIterationState(String executionIdentifier, int iterationNumber) throws org.gcube.vremanagement.executor.exception.PluginInstanceNotFoundException, org.gcube.vremanagement.executor.exception.ExecutorException
getIterationState
in interface org.gcube.vremanagement.executor.api.SmartExecutor
org.gcube.vremanagement.executor.exception.PluginInstanceNotFoundException
org.gcube.vremanagement.executor.exception.ExecutorException
public boolean stop(String executionIdentifier) throws org.gcube.vremanagement.executor.exception.ExecutorException
stop
in interface org.gcube.vremanagement.executor.api.SmartExecutor
org.gcube.vremanagement.executor.exception.ExecutorException
Copyright © 2016. All Rights Reserved.