Protected
executionReadonly
onEmit when the registry provides a registered resolver. i.e. when the TaskResolverRegistry#getResolver function is called.
Protected
Readonly
onProtected
taskRetrieves the TaskResolver registered for the given type of execution ('shell', 'process' or 'customExecution')..
a promise of the registered TaskResolver
or undefined
if no resolver is registered for the given type.
Retrieves the TaskResolver registered for the given type task configuration type.
the task configuration type
a promise of the registered TaskResolver
or undefined
if no resolver is registered for the given type.
since 1.12.0 use getTaskResolver()
instead.
Retrieves the TaskResolver registered for the given type task configuration type.
the task configuration type
a promise of the registered TaskResolver
or undefined
if no resolver is registered for the given type.
Registers the given TaskResolver to resolve the TaskConfiguration
of the specified type.
If there is already a TaskResolver
registered for the specified type the registration will
be overwritten with the new value.
the task configuration type for which the given resolver should be registered.
the task resolver that should be registered.
a Disposable
that can be invoked to unregister the given resolver
since 1.12.0 use registerTaskResolver
instead.
Registers the given TaskResolver to resolve the TaskConfiguration
for the
specified type of execution ('shell', 'process' or 'customExecution').
If there is already a TaskResolver
registered for the specified type the registration will
be overwritten with the new value.
the task execution type for which the given resolver should be registered.
the task resolver that should be registered.
a Disposable
that can be invoked to unregister the given resolver
Registers the given TaskResolver to resolve the TaskConfiguration
of the specified type.
If there is already a TaskResolver
registered for the specified type the registration will
be overwritten with the new value.
the task configuration type for which the given resolver should be registered.
the task resolver that should be registered.
a Disposable
that can be invoked to unregister the given resolver
The TaskResolverRegistry is the common component for registration and provision of TaskResolvers. Theia will collect all TaskContributions and invoke TaskContribution#registerResolvers for each contribution.