Class ProcessTaskContribution

A TaskContribution allows to contribute custom TaskResolvers and/or TaskProviders.

Example usage

@injectable()
export class ProcessTaskContribution implements TaskContribution {

@inject(ProcessTaskResolver)
protected readonly processTaskResolver: ProcessTaskResolver;

registerResolvers(resolvers: TaskResolverRegistry): void {
resolvers.register('process', this.processTaskResolver);
resolvers.register('shell', this.processTaskResolver);
}
}

Implements

Constructors

Properties

Methods

Constructors

Properties

processTaskResolver: ProcessTaskResolver

Methods