Options
All
  • Public
  • Public/Protected
  • All
Menu

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);
}
}

Hierarchy

  • TaskContribution

Index

Methods