@atomist/sdm-core
Version:
Atomist Software Delivery Machine - Implementation
28 lines • 1.48 kB
TypeScript
import { Configuration, Maker } from "@atomist/automation-client";
import { HandleCommand } from "@atomist/automation-client/lib/HandleCommand";
import { HandleEvent } from "@atomist/automation-client/lib/HandleEvent";
import { AbstractSoftwareDeliveryMachine, GoalSetter, SoftwareDeliveryMachineConfiguration } from "@atomist/sdm";
/**
* Implementation of SoftwareDeliveryMachine based on Atomist event handlers.
* Not intended for direct user instantiation. See machineFactory.ts
*/
export declare class HandlerBasedSoftwareDeliveryMachine extends AbstractSoftwareDeliveryMachine {
private get onRepoCreation();
private get onFirstPush();
private get semanticDiffReactor();
private get goalSetting();
private get goalConsequences();
private get allFunctionalUnits();
get eventHandlers(): Array<Maker<HandleEvent<any>>>;
get commandHandlers(): Array<Maker<HandleCommand>>;
get ingesters(): string[];
/**
* Construct a new software delivery machine, with zero or
* more goal setters.
* @param {string} name
* @param configuration automation client configuration we're running in
* @param {GoalSetter} goalSetters tell me what to do on a push. Hint: start with "whenPushSatisfies(...)"
*/
constructor(name: string, configuration: Configuration & SoftwareDeliveryMachineConfiguration, goalSetters: Array<GoalSetter | GoalSetter[]>);
}
//# sourceMappingURL=HandlerBasedSoftwareDeliveryMachine.d.ts.map