Interface TaskExecutor


@Deprecated public 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 Type
    Method
    Description
    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.
  • Method Details

    • 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 of TaskExecutionContext
      Returns:
      The result of the execution (decides the status of the task)