|
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 * Constants for property file engine |
|
17 * |
|
18 */ |
|
19 package com.nokia.tracecompiler.engine.propertyfile; |
|
20 |
|
21 |
|
22 /** |
|
23 * Constants for property file engine |
|
24 * |
|
25 */ |
|
26 public interface PropertyFileConstants { |
|
27 |
|
28 /** |
|
29 * File name |
|
30 */ |
|
31 String PROPERTY_FILE_NAME = "trace.properties"; //$NON-NLS-1$ |
|
32 |
|
33 /** |
|
34 * Number of backup files to keep |
|
35 */ |
|
36 int BACKUP_COUNT = 10; // CodForChk_Dis_Magic |
|
37 |
|
38 /** |
|
39 * Last of the backup headers |
|
40 */ |
|
41 String LAST_BACKUP = "9.properties.bak"; //$NON-NLS-1$ |
|
42 |
|
43 /** |
|
44 * Backup extension |
|
45 */ |
|
46 String BACKUP_EXTENSION = ".bak"; //$NON-NLS-1$ |
|
47 |
|
48 /** |
|
49 * Root element name |
|
50 */ |
|
51 String ROOT_ELEMENT = "trace_properties"; //$NON-NLS-1$ |
|
52 |
|
53 /** |
|
54 * Enum element name |
|
55 */ |
|
56 String ENUM_ELEMENT = "enum"; //$NON-NLS-1$ |
|
57 |
|
58 /** |
|
59 * Struct element name |
|
60 */ |
|
61 String STRUCT_ELEMENT = "struct"; //$NON-NLS-1$ |
|
62 |
|
63 /** |
|
64 * Component element name |
|
65 */ |
|
66 String COMPONENT_ELEMENT = "component"; //$NON-NLS-1$ |
|
67 |
|
68 /** |
|
69 * Component element name |
|
70 */ |
|
71 String GROUP_ELEMENT = "group"; //$NON-NLS-1$ |
|
72 |
|
73 /** |
|
74 * Trace element name |
|
75 */ |
|
76 String TRACE_ELEMENT = "trace"; //$NON-NLS-1$ |
|
77 |
|
78 /** |
|
79 * Value element name |
|
80 */ |
|
81 String VALUE_ELEMENT = "value"; //$NON-NLS-1$ |
|
82 |
|
83 /** |
|
84 * Property element name |
|
85 */ |
|
86 String PROPERTY_ELEMENT = "property"; //$NON-NLS-1$ |
|
87 |
|
88 /** |
|
89 * File element name |
|
90 */ |
|
91 String FILE_ELEMENT = "file"; //$NON-NLS-1$ |
|
92 |
|
93 /** |
|
94 * Name attribute |
|
95 */ |
|
96 String NAME_ATTRIBUTE = "name"; //$NON-NLS-1$ |
|
97 |
|
98 /** |
|
99 * Format attribute |
|
100 */ |
|
101 String FORMAT_ATTRIBUTE = "format"; //$NON-NLS-1$ |
|
102 |
|
103 /** |
|
104 * ID attribute |
|
105 */ |
|
106 String ID_ATTRIBUTE = "id"; //$NON-NLS-1$ |
|
107 |
|
108 /** |
|
109 * Type attribute |
|
110 */ |
|
111 String TYPE_ATTRIBUTE = "type"; //$NON-NLS-1$ |
|
112 |
|
113 /** |
|
114 * Size attribute |
|
115 */ |
|
116 String SIZE_ATTRIBUTE = "size"; //$NON-NLS-1$ |
|
117 |
|
118 } |