public interface

TaskQueueExecutor

org.apache.archiva.redback.components.taskqueue.execution.TaskQueueExecutor
Known Indirect Subclasses

Summary

Public Methods
abstract boolean cancelTask(Task task)
Cancels execution of this task, if it's currently running.
abstract Task getCurrentTask()
Returns the currently executing task.

Public Methods

public abstract boolean cancelTask (Task task)

Cancels execution of this task, if it's currently running. Does NOT remove it from the associated queue!

Parameters
task The task to cancel
Returns
  • true if the task was cancelled, false if the task was not executing.

public abstract Task getCurrentTask ()

Returns the currently executing task.

Returns
  • the currently executing task.