Interface PipelineExecutorTaskManager

    • Method Detail

      • destroy

        void destroy​(String taskId)
              throws PipelineExecutorException
        Destroys a pipeline executor task that was launched in ASYNCHRONOUS independently of the execution status. All information related to the task is also removed from the PipelineExecutorRegistry.
        Parameters:
        taskId - the id of the task to be destroyed.
        Throws:
        PipelineExecutorException - throws exceptions when a task that fulfil the conditions couldn't be found.
      • stop

        void stop​(String taskId)
           throws PipelineExecutorException
        Stops a pipeline executor task that was launched in ASYNCHRONOUS mode that is in RUNNING or SCHEDULED status.
        Parameters:
        taskId - the id of the task to stop.
        Throws:
        PipelineExecutorException - throws exceptions when a task that fulfil the conditions couldn't be found.
      • delete

        void delete​(String taskId)
             throws PipelineExecutorException
        Deletes a pipeline executor task that is in FINISHED, STOPPED or ERROR status. All information related to the task is also removed from the PipelineExecutorRegistry.
        Parameters:
        taskId - the id of the task to be deleted.
        Throws:
        PipelineExecutorException - throws exceptions when a task that fulfil the conditions couldn't be found.