@theia/task 1.67.0-next.3 → 1.67.0-next.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (230) hide show
  1. package/README.md +1 -1
  2. package/package.json +12 -12
  3. package/lib/browser/index.d.ts +0 -7
  4. package/lib/browser/index.d.ts.map +0 -1
  5. package/lib/browser/index.js +0 -25
  6. package/lib/browser/index.js.map +0 -1
  7. package/lib/browser/process/process-task-contribution.d.ts +0 -7
  8. package/lib/browser/process/process-task-contribution.d.ts.map +0 -1
  9. package/lib/browser/process/process-task-contribution.js +0 -36
  10. package/lib/browser/process/process-task-contribution.js.map +0 -1
  11. package/lib/browser/process/process-task-frontend-module.d.ts +0 -3
  12. package/lib/browser/process/process-task-frontend-module.d.ts.map +0 -1
  13. package/lib/browser/process/process-task-frontend-module.js +0 -28
  14. package/lib/browser/process/process-task-frontend-module.js.map +0 -1
  15. package/lib/browser/process/process-task-resolver.d.ts +0 -18
  16. package/lib/browser/process/process-task-resolver.d.ts.map +0 -1
  17. package/lib/browser/process/process-task-resolver.js +0 -94
  18. package/lib/browser/process/process-task-resolver.js.map +0 -1
  19. package/lib/browser/provided-task-configurations.d.ts +0 -44
  20. package/lib/browser/provided-task-configurations.d.ts.map +0 -1
  21. package/lib/browser/provided-task-configurations.js +0 -206
  22. package/lib/browser/provided-task-configurations.js.map +0 -1
  23. package/lib/browser/provided-task-configurations.spec.d.ts +0 -2
  24. package/lib/browser/provided-task-configurations.spec.d.ts.map +0 -1
  25. package/lib/browser/provided-task-configurations.spec.js +0 -44
  26. package/lib/browser/provided-task-configurations.spec.js.map +0 -1
  27. package/lib/browser/quick-open-task.d.ts +0 -146
  28. package/lib/browser/quick-open-task.d.ts.map +0 -1
  29. package/lib/browser/quick-open-task.js +0 -757
  30. package/lib/browser/quick-open-task.js.map +0 -1
  31. package/lib/browser/task-configuration-manager.d.ts +0 -63
  32. package/lib/browser/task-configuration-manager.d.ts.map +0 -1
  33. package/lib/browser/task-configuration-manager.js +0 -243
  34. package/lib/browser/task-configuration-manager.js.map +0 -1
  35. package/lib/browser/task-configuration-model.d.ts +0 -34
  36. package/lib/browser/task-configuration-model.d.ts.map +0 -1
  37. package/lib/browser/task-configuration-model.js +0 -83
  38. package/lib/browser/task-configuration-model.js.map +0 -1
  39. package/lib/browser/task-configurations.d.ts +0 -128
  40. package/lib/browser/task-configurations.d.ts.map +0 -1
  41. package/lib/browser/task-configurations.js +0 -479
  42. package/lib/browser/task-configurations.js.map +0 -1
  43. package/lib/browser/task-context-key-service.d.ts +0 -18
  44. package/lib/browser/task-context-key-service.d.ts.map +0 -1
  45. package/lib/browser/task-context-key-service.js +0 -72
  46. package/lib/browser/task-context-key-service.js.map +0 -1
  47. package/lib/browser/task-contribution.d.ts +0 -183
  48. package/lib/browser/task-contribution.d.ts.map +0 -1
  49. package/lib/browser/task-contribution.js +0 -199
  50. package/lib/browser/task-contribution.js.map +0 -1
  51. package/lib/browser/task-definition-registry.d.ts +0 -39
  52. package/lib/browser/task-definition-registry.d.ts.map +0 -1
  53. package/lib/browser/task-definition-registry.js +0 -130
  54. package/lib/browser/task-definition-registry.js.map +0 -1
  55. package/lib/browser/task-definition-registry.spec.d.ts +0 -2
  56. package/lib/browser/task-definition-registry.spec.d.ts.map +0 -1
  57. package/lib/browser/task-definition-registry.spec.js +0 -171
  58. package/lib/browser/task-definition-registry.spec.js.map +0 -1
  59. package/lib/browser/task-frontend-contribution.d.ts +0 -57
  60. package/lib/browser/task-frontend-contribution.d.ts.map +0 -1
  61. package/lib/browser/task-frontend-contribution.js +0 -351
  62. package/lib/browser/task-frontend-contribution.js.map +0 -1
  63. package/lib/browser/task-frontend-module.d.ts +0 -6
  64. package/lib/browser/task-frontend-module.d.ts.map +0 -1
  65. package/lib/browser/task-frontend-module.js +0 -82
  66. package/lib/browser/task-frontend-module.js.map +0 -1
  67. package/lib/browser/task-name-resolver.d.ts +0 -14
  68. package/lib/browser/task-name-resolver.d.ts.map +0 -1
  69. package/lib/browser/task-name-resolver.js +0 -60
  70. package/lib/browser/task-name-resolver.js.map +0 -1
  71. package/lib/browser/task-node.d.ts +0 -10
  72. package/lib/browser/task-node.d.ts.map +0 -1
  73. package/lib/browser/task-node.js +0 -18
  74. package/lib/browser/task-node.js.map +0 -1
  75. package/lib/browser/task-problem-matcher-registry.d.ts +0 -41
  76. package/lib/browser/task-problem-matcher-registry.d.ts.map +0 -1
  77. package/lib/browser/task-problem-matcher-registry.js +0 -302
  78. package/lib/browser/task-problem-matcher-registry.js.map +0 -1
  79. package/lib/browser/task-problem-pattern-registry.d.ts +0 -24
  80. package/lib/browser/task-problem-pattern-registry.d.ts.map +0 -1
  81. package/lib/browser/task-problem-pattern-registry.js +0 -203
  82. package/lib/browser/task-problem-pattern-registry.js.map +0 -1
  83. package/lib/browser/task-schema-updater.d.ts +0 -58
  84. package/lib/browser/task-schema-updater.d.ts.map +0 -1
  85. package/lib/browser/task-schema-updater.js +0 -676
  86. package/lib/browser/task-schema-updater.js.map +0 -1
  87. package/lib/browser/task-service.d.ts +0 -282
  88. package/lib/browser/task-service.d.ts.map +0 -1
  89. package/lib/browser/task-service.js +0 -1116
  90. package/lib/browser/task-service.js.map +0 -1
  91. package/lib/browser/task-source-resolver.d.ts +0 -10
  92. package/lib/browser/task-source-resolver.d.ts.map +0 -1
  93. package/lib/browser/task-source-resolver.js +0 -44
  94. package/lib/browser/task-source-resolver.js.map +0 -1
  95. package/lib/browser/task-templates.d.ts +0 -14
  96. package/lib/browser/task-templates.d.ts.map +0 -1
  97. package/lib/browser/task-templates.js +0 -158
  98. package/lib/browser/task-templates.js.map +0 -1
  99. package/lib/browser/task-terminal-widget-manager.d.ts +0 -45
  100. package/lib/browser/task-terminal-widget-manager.d.ts.map +0 -1
  101. package/lib/browser/task-terminal-widget-manager.js +0 -222
  102. package/lib/browser/task-terminal-widget-manager.js.map +0 -1
  103. package/lib/browser/tasks-monaco-contribution.d.ts +0 -2
  104. package/lib/browser/tasks-monaco-contribution.d.ts.map +0 -1
  105. package/lib/browser/tasks-monaco-contribution.js +0 -28
  106. package/lib/browser/tasks-monaco-contribution.js.map +0 -1
  107. package/lib/common/index.d.ts +0 -5
  108. package/lib/common/index.d.ts.map +0 -1
  109. package/lib/common/index.js +0 -23
  110. package/lib/common/index.js.map +0 -1
  111. package/lib/common/problem-matcher-protocol.d.ts +0 -125
  112. package/lib/common/problem-matcher-protocol.d.ts.map +0 -1
  113. package/lib/common/problem-matcher-protocol.js +0 -133
  114. package/lib/common/problem-matcher-protocol.js.map +0 -1
  115. package/lib/common/process/task-protocol.d.ts +0 -69
  116. package/lib/common/process/task-protocol.d.ts.map +0 -1
  117. package/lib/common/process/task-protocol.js +0 -34
  118. package/lib/common/process/task-protocol.js.map +0 -1
  119. package/lib/common/task-common-module.d.ts +0 -8
  120. package/lib/common/task-common-module.d.ts.map +0 -1
  121. package/lib/common/task-common-module.js +0 -29
  122. package/lib/common/task-common-module.js.map +0 -1
  123. package/lib/common/task-preferences.d.ts +0 -6
  124. package/lib/common/task-preferences.d.ts.map +0 -1
  125. package/lib/common/task-preferences.js +0 -41
  126. package/lib/common/task-preferences.js.map +0 -1
  127. package/lib/common/task-protocol.d.ts +0 -194
  128. package/lib/common/task-protocol.d.ts.map +0 -1
  129. package/lib/common/task-protocol.js +0 -138
  130. package/lib/common/task-protocol.js.map +0 -1
  131. package/lib/common/task-util.d.ts +0 -23
  132. package/lib/common/task-util.d.ts.map +0 -1
  133. package/lib/common/task-util.js +0 -47
  134. package/lib/common/task-util.js.map +0 -1
  135. package/lib/common/task-watcher.d.ts +0 -18
  136. package/lib/common/task-watcher.d.ts.map +0 -1
  137. package/lib/common/task-watcher.js +0 -82
  138. package/lib/common/task-watcher.js.map +0 -1
  139. package/lib/node/custom/custom-task-runner-backend-module.d.ts +0 -3
  140. package/lib/node/custom/custom-task-runner-backend-module.d.ts.map +0 -1
  141. package/lib/node/custom/custom-task-runner-backend-module.js +0 -37
  142. package/lib/node/custom/custom-task-runner-backend-module.js.map +0 -1
  143. package/lib/node/custom/custom-task-runner-contribution.d.ts +0 -7
  144. package/lib/node/custom/custom-task-runner-contribution.d.ts.map +0 -1
  145. package/lib/node/custom/custom-task-runner-contribution.js +0 -35
  146. package/lib/node/custom/custom-task-runner-contribution.js.map +0 -1
  147. package/lib/node/custom/custom-task-runner.d.ts +0 -16
  148. package/lib/node/custom/custom-task-runner.d.ts.map +0 -1
  149. package/lib/node/custom/custom-task-runner.js +0 -62
  150. package/lib/node/custom/custom-task-runner.js.map +0 -1
  151. package/lib/node/custom/custom-task.d.ts +0 -21
  152. package/lib/node/custom/custom-task.d.ts.map +0 -1
  153. package/lib/node/custom/custom-task.js +0 -68
  154. package/lib/node/custom/custom-task.js.map +0 -1
  155. package/lib/node/index.d.ts +0 -4
  156. package/lib/node/index.d.ts.map +0 -1
  157. package/lib/node/index.js +0 -22
  158. package/lib/node/index.js.map +0 -1
  159. package/lib/node/process/process-task-runner-backend-module.d.ts +0 -3
  160. package/lib/node/process/process-task-runner-backend-module.d.ts.map +0 -1
  161. package/lib/node/process/process-task-runner-backend-module.js +0 -37
  162. package/lib/node/process/process-task-runner-backend-module.js.map +0 -1
  163. package/lib/node/process/process-task-runner-contribution.d.ts +0 -7
  164. package/lib/node/process/process-task-runner-contribution.d.ts.map +0 -1
  165. package/lib/node/process/process-task-runner-contribution.js +0 -36
  166. package/lib/node/process/process-task-runner-contribution.js.map +0 -1
  167. package/lib/node/process/process-task-runner.d.ts +0 -61
  168. package/lib/node/process/process-task-runner.d.ts.map +0 -1
  169. package/lib/node/process/process-task-runner.js +0 -348
  170. package/lib/node/process/process-task-runner.js.map +0 -1
  171. package/lib/node/process/process-task.d.ts +0 -27
  172. package/lib/node/process/process-task.d.ts.map +0 -1
  173. package/lib/node/process/process-task.js +0 -125
  174. package/lib/node/process/process-task.js.map +0 -1
  175. package/lib/node/process/process-task.spec.d.ts +0 -2
  176. package/lib/node/process/process-task.spec.d.ts.map +0 -1
  177. package/lib/node/process/process-task.spec.js +0 -30
  178. package/lib/node/process/process-task.spec.js.map +0 -1
  179. package/lib/node/task-abstract-line-matcher.d.ts +0 -50
  180. package/lib/node/task-abstract-line-matcher.d.ts.map +0 -1
  181. package/lib/node/task-abstract-line-matcher.js +0 -274
  182. package/lib/node/task-abstract-line-matcher.js.map +0 -1
  183. package/lib/node/task-backend-application-contribution.d.ts +0 -9
  184. package/lib/node/task-backend-application-contribution.d.ts.map +0 -1
  185. package/lib/node/task-backend-application-contribution.js +0 -41
  186. package/lib/node/task-backend-application-contribution.js.map +0 -1
  187. package/lib/node/task-backend-module.d.ts +0 -4
  188. package/lib/node/task-backend-module.d.ts.map +0 -1
  189. package/lib/node/task-backend-module.js +0 -53
  190. package/lib/node/task-backend-module.js.map +0 -1
  191. package/lib/node/task-line-matchers.d.ts +0 -28
  192. package/lib/node/task-line-matchers.d.ts.map +0 -1
  193. package/lib/node/task-line-matchers.js +0 -122
  194. package/lib/node/task-line-matchers.js.map +0 -1
  195. package/lib/node/task-manager.d.ts +0 -56
  196. package/lib/node/task-manager.d.ts.map +0 -1
  197. package/lib/node/task-manager.js +0 -125
  198. package/lib/node/task-manager.js.map +0 -1
  199. package/lib/node/task-problem-collector.d.ts +0 -11
  200. package/lib/node/task-problem-collector.d.ts.map +0 -1
  201. package/lib/node/task-problem-collector.js +0 -58
  202. package/lib/node/task-problem-collector.js.map +0 -1
  203. package/lib/node/task-problem-collector.spec.d.ts +0 -2
  204. package/lib/node/task-problem-collector.spec.d.ts.map +0 -1
  205. package/lib/node/task-problem-collector.spec.js +0 -311
  206. package/lib/node/task-problem-collector.spec.js.map +0 -1
  207. package/lib/node/task-runner-protocol.d.ts +0 -17
  208. package/lib/node/task-runner-protocol.d.ts.map +0 -1
  209. package/lib/node/task-runner-protocol.js +0 -20
  210. package/lib/node/task-runner-protocol.js.map +0 -1
  211. package/lib/node/task-runner.d.ts +0 -51
  212. package/lib/node/task-runner.d.ts.map +0 -1
  213. package/lib/node/task-runner.js +0 -90
  214. package/lib/node/task-runner.js.map +0 -1
  215. package/lib/node/task-server.d.ts +0 -40
  216. package/lib/node/task-server.d.ts.map +0 -1
  217. package/lib/node/task-server.js +0 -232
  218. package/lib/node/task-server.js.map +0 -1
  219. package/lib/node/task-server.slow-spec.d.ts +0 -2
  220. package/lib/node/task-server.slow-spec.d.ts.map +0 -1
  221. package/lib/node/task-server.slow-spec.js +0 -395
  222. package/lib/node/task-server.slow-spec.js.map +0 -1
  223. package/lib/node/task.d.ts +0 -51
  224. package/lib/node/task.d.ts.map +0 -1
  225. package/lib/node/task.js +0 -73
  226. package/lib/node/task.js.map +0 -1
  227. package/lib/node/test/task-test-container.d.ts +0 -3
  228. package/lib/node/test/task-test-container.d.ts.map +0 -1
  229. package/lib/node/test/task-test-container.js +0 -59
  230. package/lib/node/test/task-test-container.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"task-runner.d.ts","sourceRoot":"","sources":["../../src/node/task-runner.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,CAAC;AAEtB,eAAO,MAAM,sBAAsB,eAAmC,CAAC;AAEvE,+FAA+F;AAC/F,MAAM,WAAW,sBAAsB;IACnC;;;OAGG;IACH,cAAc,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI,CAAC;CACrD;AAED;;;;;GAKG;AACH,qBACa,kBAAkB;IAE3B,SAAS,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAC3C,yFAAyF;IACzF,SAAS,CAAC,aAAa,EAAE,UAAU,CAAC;IAGpC,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAGxD,SAAS,CAAC,IAAI,IAAI,IAAI;IAItB;;;;;;;;OAQG;IACH,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,GAAG,UAAU;IAO5D;;;;;;OAMG;IACH,SAAS,CAAC,GAAG,KAAK,EAAE,MAAM,EAAE,GAAG,UAAU;IAUzC;;;;OAIG;IACH,cAAc,IAAI,MAAM,EAAE;CAG7B"}
@@ -1,90 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2018 Red Hat, Inc. and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.TaskRunnerRegistry = exports.TaskRunnerContribution = exports.TaskRunner = void 0;
19
- const tslib_1 = require("tslib");
20
- const inversify_1 = require("@theia/core/shared/inversify");
21
- const process_task_runner_1 = require("./process/process-task-runner");
22
- const task_runner_protocol_1 = require("./task-runner-protocol");
23
- Object.defineProperty(exports, "TaskRunner", { enumerable: true, get: function () { return task_runner_protocol_1.TaskRunner; } });
24
- exports.TaskRunnerContribution = Symbol('TaskRunnerContribution');
25
- /**
26
- * The {@link TaskRunnerRegistry} is the common component for the registration and provisioning of
27
- * {@link TaskRunner}s. Theia will collect all {@link TaskRunner}s and invoke {@link TaskRunnerContribution#registerRunner}
28
- * for each contribution. The `TaskServer` will use the runners provided by this registry to execute `TaskConfiguration`s that
29
- * have been triggered by the user.
30
- */
31
- let TaskRunnerRegistry = class TaskRunnerRegistry {
32
- init() {
33
- this.runners = new Map();
34
- this.defaultRunner = this.processTaskRunner;
35
- }
36
- /**
37
- * Registers the given {@link TaskRunner} to execute Tasks of the specified type.
38
- * If there is already a {@link TaskRunner} registered for the specified type the registration will
39
- * be overwritten with the new value.
40
- * @param type the task type for which the given runner should be registered.
41
- * @param runner the task runner that should be registered.
42
- *
43
- * @returns a `Disposable` that can be invoked to unregister the given runner.
44
- */
45
- registerRunner(type, runner) {
46
- this.runners.set(type, runner);
47
- return {
48
- dispose: () => this.runners.delete(type)
49
- };
50
- }
51
- /**
52
- * Looks for a registered {@link TaskRunner} for each of the task types in sequence and returns the first that is found
53
- * If no task runner is registered for any of the types, the default runner is returned.
54
- * @param types the task types.
55
- *
56
- * @returns the registered {@link TaskRunner} or a default runner if none is registered for the specified types.
57
- */
58
- getRunner(...types) {
59
- for (const type of types) {
60
- const runner = this.runners.get(type);
61
- if (runner) {
62
- return runner;
63
- }
64
- }
65
- return this.defaultRunner;
66
- }
67
- /**
68
- * Derives all task types for which a {@link TaskRunner} is registered.
69
- *
70
- * @returns all derived task types.
71
- */
72
- getRunnerTypes() {
73
- return [...this.runners.keys()];
74
- }
75
- };
76
- exports.TaskRunnerRegistry = TaskRunnerRegistry;
77
- tslib_1.__decorate([
78
- (0, inversify_1.inject)(process_task_runner_1.ProcessTaskRunner),
79
- tslib_1.__metadata("design:type", process_task_runner_1.ProcessTaskRunner)
80
- ], TaskRunnerRegistry.prototype, "processTaskRunner", void 0);
81
- tslib_1.__decorate([
82
- (0, inversify_1.postConstruct)(),
83
- tslib_1.__metadata("design:type", Function),
84
- tslib_1.__metadata("design:paramtypes", []),
85
- tslib_1.__metadata("design:returntype", void 0)
86
- ], TaskRunnerRegistry.prototype, "init", null);
87
- exports.TaskRunnerRegistry = TaskRunnerRegistry = tslib_1.__decorate([
88
- (0, inversify_1.injectable)()
89
- ], TaskRunnerRegistry);
90
- //# sourceMappingURL=task-runner.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"task-runner.js","sourceRoot":"","sources":["../../src/node/task-runner.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DAAkB;AAOR;IADlB,IAAA,kBAAM,EAAC,uCAAiB,CAAC;sCACY,uCAAiB;6DAAC;AAG9C;IADT,IAAA,yBAAa,GAAE;;;;8CAIf;6BAbQ,kBAAkB;IAD9B,IAAA,sBAAU,GAAE;GACA,kBAAkB,CAuD9B"}
@@ -1,40 +0,0 @@
1
- import { Disposable, DisposableCollection, ILogger } from '@theia/core/lib/common/';
2
- import { TaskClient, TaskExitedEvent, TaskInfo, TaskServer, TaskConfiguration, TaskOutputProcessedEvent, RunTaskOption, BackgroundTaskEndedEvent } from '../common';
3
- import { TaskManager } from './task-manager';
4
- import { TaskRunnerRegistry } from './task-runner';
5
- import { Task } from './task';
6
- export declare class TaskServerImpl implements TaskServer, Disposable {
7
- /** Task clients, to send notifications-to. */
8
- protected clients: TaskClient[];
9
- /** Map of task id and task disposable */
10
- protected readonly toDispose: Map<number, DisposableCollection>;
11
- /** Map of task id and task background status. */
12
- protected readonly backgroundTaskStatusMap: Map<number, {
13
- isActive: boolean;
14
- }>;
15
- protected readonly logger: ILogger;
16
- protected readonly taskManager: TaskManager;
17
- protected readonly runnerRegistry: TaskRunnerRegistry;
18
- /** task context - {task id - problem collector} */
19
- private problemCollectors;
20
- dispose(): void;
21
- protected disposeByTaskId(taskId: number): void;
22
- getTasks(context?: string): Promise<TaskInfo[]>;
23
- run(taskConfiguration: TaskConfiguration, ctx?: string, option?: RunTaskOption): Promise<TaskInfo>;
24
- getRegisteredTaskTypes(): Promise<string[]>;
25
- customExecutionComplete(id: number, exitCode: number | undefined): Promise<void>;
26
- protected fireTaskExitedEvent(event: TaskExitedEvent, task?: Task): void;
27
- protected fireTaskCreatedEvent(event: TaskInfo, task?: Task): void;
28
- protected fireTaskOutputProcessedEvent(event: TaskOutputProcessedEvent): void;
29
- protected fireBackgroundTaskEndedEvent(event: BackgroundTaskEndedEvent): void;
30
- /** Kill task for a given id. Rejects if task is not found */
31
- kill(id: number): Promise<void>;
32
- /** Adds a client to this server */
33
- setClient(client: TaskClient): void;
34
- /** Removes a client, from this server */
35
- disconnectClient(client: TaskClient): void;
36
- private getCachedProblemCollector;
37
- private cacheProblemCollector;
38
- private removedCachedProblemCollector;
39
- }
40
- //# sourceMappingURL=task-server.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"task-server.d.ts","sourceRoot":"","sources":["../../src/node/task-server.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AACpF,OAAO,EACH,UAAU,EACV,eAAe,EACf,QAAQ,EACR,UAAU,EACV,iBAAiB,EACjB,wBAAwB,EACxB,aAAa,EACb,wBAAwB,EAC3B,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAK9B,qBACa,cAAe,YAAW,UAAU,EAAE,UAAU;IAEzD,8CAA8C;IAC9C,SAAS,CAAC,OAAO,EAAE,UAAU,EAAE,CAAM;IACrC,yCAAyC;IACzC,SAAS,CAAC,QAAQ,CAAC,SAAS,oCAA2C;IAEvE,iDAAiD;IAEjD,SAAS,CAAC,QAAQ,CAAC,uBAAuB;kBAAiC,OAAO;OAAM;IAGxF,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IAGnC,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAG5C,SAAS,CAAC,QAAQ,CAAC,cAAc,EAAE,kBAAkB,CAAC;IAEtD,mDAAmD;IACnD,OAAO,CAAC,iBAAiB,CAAyD;IAElF,OAAO,IAAI,IAAI;IAQf,SAAS,CAAC,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAWzC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;IAa/C,GAAG,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,GAAG,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC;IA8ElG,sBAAsB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IAI3C,uBAAuB,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;IAKtF,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI;IAcxE,SAAS,CAAC,oBAAoB,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI;IAclE,SAAS,CAAC,4BAA4B,CAAC,KAAK,EAAE,wBAAwB,GAAG,IAAI;IAI7E,SAAS,CAAC,4BAA4B,CAAC,KAAK,EAAE,wBAAwB,GAAG,IAAI;IAI7E,6DAA6D;IACvD,IAAI,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAWrC,mCAAmC;IACnC,SAAS,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI;IAKnC,yCAAyC;IACzC,gBAAgB,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI;IAQ1C,OAAO,CAAC,yBAAyB;IAMjC,OAAO,CAAC,qBAAqB;IAY7B,OAAO,CAAC,6BAA6B;CAKxC"}
@@ -1,232 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2017 Ericsson and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.TaskServerImpl = void 0;
19
- const tslib_1 = require("tslib");
20
- const inversify_1 = require("@theia/core/shared/inversify");
21
- const common_1 = require("@theia/core/lib/common/");
22
- const task_manager_1 = require("./task-manager");
23
- const task_runner_1 = require("./task-runner");
24
- const process_task_1 = require("./process/process-task");
25
- const task_problem_collector_1 = require("./task-problem-collector");
26
- let TaskServerImpl = class TaskServerImpl {
27
- constructor() {
28
- /** Task clients, to send notifications-to. */
29
- this.clients = [];
30
- /** Map of task id and task disposable */
31
- this.toDispose = new Map();
32
- /** Map of task id and task background status. */
33
- // Currently there is only one property ('isActive'), but in the future we may want to store more properties
34
- this.backgroundTaskStatusMap = new Map();
35
- /** task context - {task id - problem collector} */
36
- this.problemCollectors = new Map();
37
- }
38
- dispose() {
39
- for (const toDispose of this.toDispose.values()) {
40
- toDispose.dispose();
41
- }
42
- this.toDispose.clear();
43
- this.backgroundTaskStatusMap.clear();
44
- }
45
- disposeByTaskId(taskId) {
46
- if (this.toDispose.has(taskId)) {
47
- this.toDispose.get(taskId).dispose();
48
- this.toDispose.delete(taskId);
49
- }
50
- if (this.backgroundTaskStatusMap.has(taskId)) {
51
- this.backgroundTaskStatusMap.delete(taskId);
52
- }
53
- }
54
- async getTasks(context) {
55
- const taskInfo = [];
56
- const tasks = this.taskManager.getTasks(context);
57
- if (tasks !== undefined) {
58
- for (const task of tasks) {
59
- taskInfo.push(await task.getRuntimeInfo());
60
- }
61
- }
62
- this.logger.debug(`getTasks(): about to return task information for ${taskInfo.length} tasks`);
63
- return Promise.resolve(taskInfo);
64
- }
65
- async run(taskConfiguration, ctx, option) {
66
- const runner = taskConfiguration.executionType ?
67
- this.runnerRegistry.getRunner(taskConfiguration.type, taskConfiguration.executionType) :
68
- this.runnerRegistry.getRunner(taskConfiguration.type);
69
- const task = await runner.run(taskConfiguration, ctx);
70
- if (!this.toDispose.has(task.id)) {
71
- this.toDispose.set(task.id, new common_1.DisposableCollection());
72
- }
73
- if (taskConfiguration.isBackground && !this.backgroundTaskStatusMap.has(task.id)) {
74
- this.backgroundTaskStatusMap.set(task.id, { 'isActive': false });
75
- }
76
- this.toDispose.get(task.id).push(task.onExit(event => {
77
- this.taskManager.delete(task);
78
- this.fireTaskExitedEvent(event, task);
79
- this.removedCachedProblemCollector(event.ctx || '', event.taskId);
80
- this.disposeByTaskId(event.taskId);
81
- }));
82
- const resolvedMatchers = option && option.customization ? option.customization.problemMatcher || [] : [];
83
- if (resolvedMatchers.length > 0) {
84
- this.toDispose.get(task.id).push(task.onOutput(event => {
85
- let collector = this.getCachedProblemCollector(event.ctx || '', event.taskId);
86
- if (!collector) {
87
- collector = new task_problem_collector_1.ProblemCollector(resolvedMatchers);
88
- this.cacheProblemCollector(event.ctx || '', event.taskId, collector);
89
- }
90
- const problems = collector.processLine(event.line);
91
- if (problems.length > 0) {
92
- this.fireTaskOutputProcessedEvent({
93
- taskId: event.taskId,
94
- config: taskConfiguration,
95
- ctx: event.ctx,
96
- problems
97
- });
98
- }
99
- if (taskConfiguration.isBackground) {
100
- const backgroundTaskStatus = this.backgroundTaskStatusMap.get(event.taskId);
101
- if (!backgroundTaskStatus.isActive) {
102
- // Get the 'activeOnStart' value of the problem matcher 'background' property
103
- const activeOnStart = collector.isTaskActiveOnStart();
104
- if (activeOnStart) {
105
- backgroundTaskStatus.isActive = true;
106
- }
107
- else {
108
- const isBeginsPatternMatch = collector.matchBeginMatcher(event.line);
109
- if (isBeginsPatternMatch) {
110
- backgroundTaskStatus.isActive = true;
111
- }
112
- }
113
- }
114
- if (backgroundTaskStatus.isActive) {
115
- const isEndsPatternMatch = collector.matchEndMatcher(event.line);
116
- // Mark ends pattern as matches, only after begins pattern matches
117
- if (isEndsPatternMatch) {
118
- this.fireBackgroundTaskEndedEvent({
119
- taskId: event.taskId,
120
- ctx: event.ctx
121
- });
122
- }
123
- }
124
- }
125
- }));
126
- }
127
- this.toDispose.get(task.id).push(task);
128
- const taskInfo = await task.getRuntimeInfo();
129
- this.fireTaskCreatedEvent(taskInfo);
130
- return taskInfo;
131
- }
132
- async getRegisteredTaskTypes() {
133
- return this.runnerRegistry.getRunnerTypes();
134
- }
135
- async customExecutionComplete(id, exitCode) {
136
- const task = this.taskManager.get(id);
137
- await task.callbackTaskComplete(exitCode);
138
- }
139
- fireTaskExitedEvent(event, task) {
140
- this.logger.debug(log => log('task has exited:', event));
141
- if (task instanceof process_task_1.ProcessTask) {
142
- this.clients.forEach(client => {
143
- client.onDidEndTaskProcess(event);
144
- });
145
- }
146
- this.clients.forEach(client => {
147
- client.onTaskExit(event);
148
- });
149
- }
150
- fireTaskCreatedEvent(event, task) {
151
- this.logger.debug(log => log('task created:', event));
152
- this.clients.forEach(client => {
153
- client.onTaskCreated(event);
154
- });
155
- if (task && task instanceof process_task_1.ProcessTask) {
156
- this.clients.forEach(client => {
157
- client.onDidStartTaskProcess(event);
158
- });
159
- }
160
- }
161
- fireTaskOutputProcessedEvent(event) {
162
- this.clients.forEach(client => client.onDidProcessTaskOutput(event));
163
- }
164
- fireBackgroundTaskEndedEvent(event) {
165
- this.clients.forEach(client => client.onBackgroundTaskEnded(event));
166
- }
167
- /** Kill task for a given id. Rejects if task is not found */
168
- async kill(id) {
169
- const taskToKill = this.taskManager.get(id);
170
- if (taskToKill !== undefined) {
171
- this.logger.info(`Killing task id ${id}`);
172
- return taskToKill.kill();
173
- }
174
- else {
175
- this.logger.info(`Could not find task to kill, task id ${id}. Already terminated?`);
176
- return Promise.reject(new Error(`Could not find task to kill, task id ${id}. Already terminated?`));
177
- }
178
- }
179
- /** Adds a client to this server */
180
- setClient(client) {
181
- this.logger.debug('a client has connected - adding it to the list:');
182
- this.clients.push(client);
183
- }
184
- /** Removes a client, from this server */
185
- disconnectClient(client) {
186
- this.logger.debug('a client has disconnected - removed from list:');
187
- const idx = this.clients.indexOf(client);
188
- if (idx > -1) {
189
- this.clients.splice(idx, 1);
190
- }
191
- }
192
- getCachedProblemCollector(ctx, taskId) {
193
- if (this.problemCollectors.has(ctx)) {
194
- return this.problemCollectors.get(ctx).get(taskId);
195
- }
196
- }
197
- cacheProblemCollector(ctx, taskId, problemCollector) {
198
- if (this.problemCollectors.has(ctx)) {
199
- if (!this.problemCollectors.get(ctx).has(taskId)) {
200
- this.problemCollectors.get(ctx).set(taskId, problemCollector);
201
- }
202
- }
203
- else {
204
- const forNewContext = new Map();
205
- forNewContext.set(taskId, problemCollector);
206
- this.problemCollectors.set(ctx, forNewContext);
207
- }
208
- }
209
- removedCachedProblemCollector(ctx, taskId) {
210
- if (this.problemCollectors.has(ctx) && this.problemCollectors.get(ctx).has(taskId)) {
211
- this.problemCollectors.get(ctx).delete(taskId);
212
- }
213
- }
214
- };
215
- exports.TaskServerImpl = TaskServerImpl;
216
- tslib_1.__decorate([
217
- (0, inversify_1.inject)(common_1.ILogger),
218
- (0, inversify_1.named)('task'),
219
- tslib_1.__metadata("design:type", Object)
220
- ], TaskServerImpl.prototype, "logger", void 0);
221
- tslib_1.__decorate([
222
- (0, inversify_1.inject)(task_manager_1.TaskManager),
223
- tslib_1.__metadata("design:type", task_manager_1.TaskManager)
224
- ], TaskServerImpl.prototype, "taskManager", void 0);
225
- tslib_1.__decorate([
226
- (0, inversify_1.inject)(task_runner_1.TaskRunnerRegistry),
227
- tslib_1.__metadata("design:type", task_runner_1.TaskRunnerRegistry)
228
- ], TaskServerImpl.prototype, "runnerRegistry", void 0);
229
- exports.TaskServerImpl = TaskServerImpl = tslib_1.__decorate([
230
- (0, inversify_1.injectable)()
231
- ], TaskServerImpl);
232
- //# sourceMappingURL=task-server.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"task-server.js","sourceRoot":"","sources":["../../src/node/task-server.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,0CAA0C;AAC1C,EAAE;AACF,2EAA2E;AAC3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B,CAAC,GAAW,EAAE,MAAc;QAC7D,IAAI,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAAG,CAAE,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC;YAClF,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAAG,CAAE,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpD,CAAC;IACL,CAAC;CACJ,CAAA;AApOY,wCAAc;AAYJ;IADlB,IAAA,kBAAM,EAAC,gBAAO,CAAC;IAAE,IAAA,iBAAK,EAAC,MAAM,CAAC;;8CACI;AAGhB;IADlB,IAAA,kBAAM,EAAC,0BAAW,CAAC;sCACY,0BAAW;mDAAC;AAGzB;IADlB,IAAA,kBAAM,EAAC,gCAAkB,CAAC;sCACQ,gCAAkB;sDAAC;yBAlB7C,cAAc;IAD1B,IAAA,sBAAU,GAAE;GACA,cAAc,CAoO1B"}
@@ -1,2 +0,0 @@
1
- import 'reflect-metadata';
2
- //# sourceMappingURL=task-server.slow-spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"task-server.slow-spec.d.ts","sourceRoot":"","sources":["../../src/node/task-server.slow-spec.ts"],"names":[],"mappings":"AAiBA,OAAO,kBAAkB,CAAC"}