source: java/main/src/main/java/com/framsticks/diagnostics/Diagnostics.java @ 78

Last change on this file since 78 was 78, checked in by psniegowski, 11 years ago

Add f0 parsing and f0->Model transformation.

File size: 812 bytes
Line 
1package com.framsticks.diagnostics;
2
3import com.framsticks.core.Parameters;
4import com.framsticks.observers.Endpoint;
5import com.framsticks.observers.Observer;
6
7/**
8 * @author Piotr Sniegowski
9 */
10public class Diagnostics extends Observer {
11
12    final Integer dumpsInterval;
13    final String dumpsPath;
14    final String dumpsFormat;
15
16
17    public Diagnostics(Parameters parameters) {
18        super(parameters);
19        dumpsInterval = config.getInteger("dumps.interval", null);
20        dumpsPath = config.getString("dumps.path", null);
21        dumpsFormat = config.getString("dumps.format", null);
22    }
23
24    @Override
25    protected void configure() throws Exception {
26
27        super.configure();
28    }
29
30
31    @Override
32    protected Endpoint createEndpoint() {
33        return new DiagnosticsEndpoint();
34    }
35
36
37}
Note: See TracBrowser for help on using the repository browser.