1 | import { HandleCommand } from "@atomist/automation-client/lib/HandleCommand";
|
2 | import { HandleEvent } from "@atomist/automation-client/lib/HandleEvent";
|
3 | import { NoParameters } from "@atomist/automation-client/lib/SmartParameters";
|
4 | import { Maker } from "@atomist/automation-client/lib/util/constructionUtils";
|
5 | import { CommandRegistrationManager } from "../../api/machine/CommandRegistrationManager";
|
6 | import { CodeInspectionRegistration } from "../../api/registration/CodeInspectionRegistration";
|
7 | import { CodeTransformRegistration } from "../../api/registration/CodeTransformRegistration";
|
8 | import { CommandHandlerRegistration } from "../../api/registration/CommandHandlerRegistration";
|
9 | import { EventHandlerRegistration } from "../../api/registration/EventHandlerRegistration";
|
10 | import { EventRegistrationManager } from "../../api/registration/EventRegistrationManager";
|
11 | import { GeneratorRegistration } from "../../api/registration/GeneratorRegistration";
|
12 | import { IngesterRegistration } from "../../api/registration/IngesterRegistration";
|
13 | import { IngesterRegistrationManager } from "../../api/registration/IngesterRegistrationManager";
|
14 | import { MachineOrMachineOptions } from "./toMachineOptions";
|
15 |
|
16 |
|
17 |
|
18 |
|
19 | export declare class HandlerRegistrationManagerSupport implements CommandRegistrationManager, EventRegistrationManager, IngesterRegistrationManager {
|
20 | private readonly sdm;
|
21 | constructor(sdm: MachineOrMachineOptions);
|
22 | commandHandlers: Array<Maker<HandleCommand>>;
|
23 | eventHandlers: Array<Maker<HandleEvent<any>>>;
|
24 | ingesters: string[];
|
25 | addCommand<P>(cmd: CommandHandlerRegistration<P>): this;
|
26 | addGeneratorCommand<P = NoParameters>(gen: GeneratorRegistration<P>): this;
|
27 | addCodeTransformCommand<P>(ed: CodeTransformRegistration<P>): this;
|
28 | addCodeInspectionCommand<R, P = NoParameters>(cir: CodeInspectionRegistration<R, P>): this;
|
29 | addEvent<T, P>(e: EventHandlerRegistration<T, P>): this;
|
30 | addIngester(i: IngesterRegistration): this;
|
31 | }
|
32 | //# sourceMappingURL=HandlerRegistrationManagerSupport.d.ts.map |
\ | No newline at end of file |