1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { json, logging } from '@angular-devkit/core';
|
9 | import { Observable } from 'rxjs';
|
10 | import { BuilderRun, Target } from './api';
|
11 | import { ArchitectHost } from './internal';
|
12 | import { JobName, Registry } from './jobs';
|
13 | export interface ScheduleOptions {
|
14 | logger?: logging.Logger;
|
15 | }
|
16 | export declare class Architect {
|
17 | private _host;
|
18 | private readonly _scheduler;
|
19 | private readonly _jobCache;
|
20 | private readonly _infoCache;
|
21 | constructor(_host: ArchitectHost, registry?: json.schema.SchemaRegistry, additionalJobRegistry?: Registry);
|
22 | has(name: JobName): Observable<boolean>;
|
23 | scheduleBuilder(name: string, options: json.JsonObject, scheduleOptions?: ScheduleOptions): Promise<BuilderRun>;
|
24 | scheduleTarget(target: Target, overrides?: json.JsonObject, scheduleOptions?: ScheduleOptions): Promise<BuilderRun>;
|
25 | }
|