@atomist/automation-client
Version:
Atomist API for software low-level client
13 lines • 722 B
TypeScript
import { Configuration } from "../configuration";
import { AutomationMetadata, CommandHandlerMetadata } from "../metadata/automationMetadata";
import { Arg } from "./invoker/Payload";
/**
* Populate the parameters of the command handler instance,
* performing type coercion if necessary
* @param instanceToPopulate parameters instance (may be handler instance itself)
* @param hm handler metadata
* @param args string args
*/
export declare function populateParameters(instanceToPopulate: any, hm: CommandHandlerMetadata, args: Arg[]): void;
export declare function populateValues(instanceToPopulate: any, am: AutomationMetadata, configuration: Configuration): void;
//# sourceMappingURL=parameterPopulation.d.ts.map