1 | import {bind, provide, Provider} from 'angular2/src/core/di';
|
2 | import {BaseException, WrappedException} from 'angular2/src/facade/exceptions';
|
3 | import {MeasureValues} from './measure_values';
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export abstract class Reporter {
|
9 | static bindTo(delegateToken): Provider[] {
|
10 | return [bind(Reporter).toFactory((delegate) => delegate, [delegateToken])];
|
11 | }
|
12 |
|
13 | reportMeasureValues(values: MeasureValues): Promise<any> { throw new BaseException('NYI'); }
|
14 |
|
15 | reportSample(completeSample: MeasureValues[], validSample: MeasureValues[]): Promise<any> {
|
16 | throw new BaseException('NYI');
|
17 | }
|
18 | }
|