1 | import { NoParameters } from "@atomist/automation-client/lib/SmartParameters";
|
2 | import { CodeInspectionRegistration } from "../registration/CodeInspectionRegistration";
|
3 | import { CodeTransformRegistration } from "../registration/CodeTransformRegistration";
|
4 | import { CommandHandlerRegistration } from "../registration/CommandHandlerRegistration";
|
5 | import { GeneratorRegistration } from "../registration/GeneratorRegistration";
|
6 |
|
7 |
|
8 |
|
9 | export interface CommandRegistrationManager {
|
10 | |
11 |
|
12 |
|
13 |
|
14 | addCommand<PARAMS = NoParameters>(command: CommandHandlerRegistration<PARAMS>): this;
|
15 | |
16 |
|
17 |
|
18 |
|
19 | addGeneratorCommand<PARAMS = NoParameters>(generator: GeneratorRegistration<PARAMS>): this;
|
20 | |
21 |
|
22 |
|
23 |
|
24 | addCodeTransformCommand<PARAMS = NoParameters>(ctr: CodeTransformRegistration<PARAMS>): this;
|
25 | |
26 |
|
27 |
|
28 |
|
29 |
|
30 | addCodeInspectionCommand<R, PARAMS = NoParameters>(cir: CodeInspectionRegistration<R, PARAMS>): this;
|
31 | }
|
32 |
|
\ | No newline at end of file |