1 |
|
2 |
|
3 |
|
4 | export declare abstract class BuildSpec {
|
5 | static fromObject(value: {
|
6 | [key: string]: any;
|
7 | }): BuildSpec;
|
8 | |
9 |
|
10 |
|
11 |
|
12 |
|
13 | static fromObjectToYaml(value: {
|
14 | [key: string]: any;
|
15 | }): BuildSpec;
|
16 | |
17 |
|
18 |
|
19 |
|
20 |
|
21 | static fromSourceFilename(filename: string): BuildSpec;
|
22 | |
23 |
|
24 |
|
25 | abstract readonly isImmediate: boolean;
|
26 | protected constructor();
|
27 | /**
|
28 | * Render the represented BuildSpec
|
29 | */
|
30 | abstract toBuildSpec(): string;
|
31 | }
|
32 | /**
|
33 | * Merge two buildspecs into a new BuildSpec by doing a deep merge
|
34 | *
|
35 | * We decided to disallow merging of artifact specs, which is
|
36 | * actually impossible since we can't merge two buildspecs with a
|
37 | * single primary output into a buildspec with multiple outputs.
|
38 | * In case of multiple outputs they must have identifiers but we won't have that information.
|
39 | *
|
40 | * In case of test reports we replace the whole object with the RHS (instead of recursively merging)
|
41 | */
|
42 | export declare function mergeBuildSpecs(lhs: BuildSpec, rhs: BuildSpec): BuildSpec;
|