Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TaskDefinitionRegistry

Hierarchy

  • TaskDefinitionRegistry

Index

Constructors

Properties

definitions: Map<string, TaskDefinition[]> = ...
onDidRegisterTaskDefinitionEmitter: Emitter<void> = ...
onDidUnregisterTaskDefinitionEmitter: Emitter<void> = ...

Accessors

  • get onDidRegisterTaskDefinition(): Event<void>
  • get onDidUnregisterTaskDefinition(): Event<void>

Methods

  • Finds the task definition from the registry for the task configuration. The task configuration is considered as a "match" to the task definition if it has all the required properties. In case that more than one task definition is found, return the one that has the biggest number of matched properties.

    Parameters

    Returns undefined | TaskDefinition

    the task definition for the task configuration. If the task definition is not found, undefined is returned.