tracefw/tracecompiler/src/com.nokia.tracecompiler/src/com/nokia/tracecompiler/engine/TraceCompilerEngineInterface.java
equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 * TraceCompiler interface |
|
17 * |
|
18 */ |
|
19 package com.nokia.tracecompiler.engine; |
|
20 |
|
21 import com.nokia.tracecompiler.model.TraceCompilerException; |
|
22 |
|
23 /** |
|
24 * TraceCompiler interface |
|
25 * |
|
26 */ |
|
27 public interface TraceCompilerEngineInterface { |
|
28 |
|
29 /** |
|
30 * Opens the trace project related to given source file |
|
31 * |
|
32 * @param modelName |
|
33 * the name for the model |
|
34 * @throws TraceCompilerException |
|
35 * if startup fails |
|
36 * @throws Exception |
|
37 */ |
|
38 public void openProject(String modelName) |
|
39 throws Exception; //this include TraceCompilerException |
|
40 |
|
41 /** |
|
42 * Exports the trace project |
|
43 * |
|
44 * @throws TraceCompilerException |
|
45 * if export fails |
|
46 */ |
|
47 public void exportProject() throws TraceCompilerException; |
|
48 |
|
49 /** |
|
50 * Closes the trace project |
|
51 * @throws TraceCompilerException |
|
52 */ |
|
53 public void closeProject() throws TraceCompilerException; |
|
54 |
|
55 } |
|