Interface TaskExecutor
-
@Deprecated public interface TaskExecutorDeprecated.The implementation of this TaskExecutor interface will be the one which does the actual work of the task.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ExecutionResultexecute(TaskConfig config, TaskExecutionContext taskExecutionContext)Deprecated.The plugin infrastructure will call the execute() method, on the agent side, when the task needs to be run.
-
-
-
Method Detail
-
execute
ExecutionResult execute(TaskConfig config, TaskExecutionContext taskExecutionContext)
Deprecated.The plugin infrastructure will call the execute() method, on the agent side, when the task needs to be run.- Parameters:
config- Has the current configuration. Contains both the keys and the values provided by the user.taskExecutionContext- Instance ofTaskExecutionContext- Returns:
- The result of the execution (decides the status of the task)
-
-