public interface SmartExecutor
| Modifier and Type | Field and Description |
|---|---|
static String |
TARGET_NAMESPACE |
static String |
WEB_SERVICE_SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
PluginState |
getIterationState(String executionIdentifier,
int iterationNumber)
The method use the provided UUID as String and the iteration number
to retrieve the status of the associated execution
|
PluginState |
getState(String executionIdentifier)
The method use the provided UUID as String to retrieve the status of the
associated execution
|
String |
launch(LaunchParameter launchParameter)
Launch the plugin identified by the name provided as parameters
with the provided inputs.
|
boolean |
unSchedule(String executionIdentifier)
The method use the provided UUID as String to unschedule a previous
scheduled task and stop the current execution (if any).
|
static final String TARGET_NAMESPACE
static final String WEB_SERVICE_SERVICE_NAME
String launch(LaunchParameter launchParameter) throws InputsNullException, PluginNotFoundException, LaunchException, ExecutorException
launchParameter - which contains the name of the plugin to launch
and the input to be provided to plugin to run.InputsNullException - if LaunchParameter contains null
inputs.PluginNotFoundException - if LaunchParameter contains a
name of a plugin which is not available on classpathLaunchException - if an error occurs trying to instantiate and/or
launch the plugin executionExecutorException - if any other undefined error occurboolean unSchedule(String executionIdentifier) throws ExecutorException
executionIdentifier - UUID as String which identify the executionException - if there is no execution identified by the provided
UUID execution identifier as StringExecutorExceptionPluginState getState(String executionIdentifier) throws PluginInstanceNotFoundException, ExecutorException
executionIdentifier - UUID as String which identify the executionPluginState which contains the state of the executionException - if there is no execution identified by the provided
UUID execution identifier as StringPluginInstanceNotFoundExceptionExecutorExceptionPluginState getIterationState(String executionIdentifier, int iterationNumber) throws PluginInstanceNotFoundException, ExecutorException
executionIdentifier - UUID as String which identify the executioniterationNumber - iteration numberPluginState which contains the state of the executionException - if there is no execution identified by the provided
UUID execution identifier as StringPluginInstanceNotFoundExceptionExecutorExceptionCopyright © 2015. All Rights Reserved.