Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProvidedTaskConfigurations

Hierarchy

  • ProvidedTaskConfigurations

Index

Constructors

constructor

Properties

Private currentToken

currentToken: number = 0

Private nextToken

nextToken: number = 1

Protected Readonly taskDefinitionRegistry

taskDefinitionRegistry: TaskDefinitionRegistry

Protected Readonly taskProviderRegistry

taskProviderRegistry: TaskProviderRegistry

Protected tasksMap

tasksMap: Map<string, Map<string, Map<undefined | string, TaskConfiguration>>> = ...

Map of source (name of extension, or path of root folder that the task config comes from) and task config map. For the second level of inner map, the key is task label. For the third level of inner map, the key is the task scope and value TaskConfiguration.

Methods

Protected cacheTasks

Protected getCachedTask

getTask

getTaskToCustomize

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

    Parameters

    Returns Promise<undefined | TaskConfiguration>

    the detected task for the given task customization. If the task customization is not found, undefined is returned.

getTasks

Protected refreshTasks

  • refreshTasks(token: number): Promise<void>

startUserAction

  • startUserAction(): number