A Task Runner that will be used for executing a Task without an associated Runner.
Looks for a registered TaskRunner for each of the task types in sequence and returns the first that is found If no task runner is registered for any of the types, the default runner is returned.
the task types.
the registered TaskRunner or a default runner if none is registered for the specified types.
Derives all task types for which a TaskRunner is registered.
all derived task types.
Registers the given TaskRunner to execute Tasks of the specified type. If there is already a TaskRunner registered for the specified type the registration will be overwritten with the new value.
the task type for which the given runner should be registered.
the task runner that should be registered.
a Disposable
that can be invoked to unregister the given runner.
The TaskRunnerRegistry is the common component for the registration and provisioning of TaskRunners. Theia will collect all TaskRunners and invoke {@link TaskRunnerContribution#registerRunner} for each contribution. The
TaskServer
will use the runners provided by this registry to executeTaskConfiguration
s that have been triggered by the user.