Interface TaskContribution

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);
}
}
interface TaskContribution {
    registerProviders?(providers): void;
    registerResolvers?(resolvers): void;
}

Implemented by

Methods