Interface TaskExecutor
Deprecated.
The implementation of this TaskExecutor interface will be the one which does the actual work of the task.
-
Method Summary
Modifier and TypeMethodDescriptionexecute(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 Details
-
execute
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)
-