|
1 /* |
|
2 * Copyright (c) 2010 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 the License "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 */ |
|
17 |
|
18 package com.nokia.carbide.cpp.internal.pi.model; |
|
19 |
|
20 import java.io.File; |
|
21 |
|
22 import com.nokia.carbide.cpp.internal.pi.plugin.model.ITrace; |
|
23 |
|
24 public class PluginTrace implements ITrace { |
|
25 |
|
26 private int traceId; |
|
27 private String traceName; |
|
28 private String traceDescription; |
|
29 private String traceTitle; |
|
30 private boolean mandatory; |
|
31 |
|
32 |
|
33 public void setTraceId(int traceId) { |
|
34 this.traceId = traceId; |
|
35 } |
|
36 |
|
37 public int getTraceId() { |
|
38 return traceId; |
|
39 } |
|
40 |
|
41 public void setTraceName(String traceName) { |
|
42 this.traceName = traceName; |
|
43 } |
|
44 |
|
45 public String getTraceName() { |
|
46 return traceName; |
|
47 } |
|
48 |
|
49 public void setTraceDescription(String traceDescription) { |
|
50 this.traceDescription = traceDescription; |
|
51 } |
|
52 |
|
53 public String getTraceDescription() { |
|
54 return traceDescription; |
|
55 } |
|
56 |
|
57 public void setMandatory(boolean mandatory) { |
|
58 this.mandatory = mandatory; |
|
59 } |
|
60 |
|
61 public boolean isMandatory() { |
|
62 return mandatory; |
|
63 } |
|
64 |
|
65 public void setTraceTitle(String traceTitle) { |
|
66 this.traceTitle = traceTitle; |
|
67 } |
|
68 |
|
69 public String getTraceTitle() { |
|
70 return traceTitle; |
|
71 } |
|
72 |
|
73 @SuppressWarnings("unchecked") |
|
74 public Class getTraceClass() { |
|
75 return null; |
|
76 } |
|
77 |
|
78 public void initialiseTrace(GenericTrace trace) { |
|
79 |
|
80 } |
|
81 |
|
82 public ParsedTraceData parseTraceFile(File file) throws Exception { |
|
83 return null; |
|
84 } |
|
85 |
|
86 public ParsedTraceData parseTraceFiles(File[] files) throws Exception { |
|
87 return null; |
|
88 } |
|
89 |
|
90 } |