d8bdecb8cdb87e1ea47f14f11c9d2bb7639f96af
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.analysis.xml.core / src / org / eclipse / tracecompass / internal / tmf / analysis / xml / core / stateprovider / TmfXmlStrings.java
1 /*******************************************************************************
2 * Copyright (c) 2014 Ecole Polytechnique
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Florian Wininger - Initial implementation
11 ******************************************************************************/
12
13 package org.eclipse.tracecompass.internal.tmf.analysis.xml.core.stateprovider;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18 * This file defines all name in the XML Structure for the State Provider
19 *
20 * @author Florian Wininger
21 * @noimplement This interface only contains static defines
22 */
23 @SuppressWarnings({ "javadoc", "nls" })
24 @NonNullByDefault
25 public interface TmfXmlStrings {
26
27 /* XML generic Element attribute names */
28 String VALUE = "value";
29 String NAME = "name";
30 String VERSION = "version";
31 String TYPE = "type";
32
33 /* XML header element */
34 String HEAD = "head";
35 String TRACETYPE = "traceType";
36 String ID = "id";
37 String LABEL = "label";
38 String ANALYSIS = "analysis";
39
40 /* XML String */
41 String NULL = "";
42 String WILDCARD = "*";
43 String VARIABLE_PREFIX = "$";
44 String COLOR = "color";
45 String COLOR_PREFIX = "#";
46
47 /* XML Element Name */
48 String STATE_PROVIDER = "stateProvider";
49 String DEFINED_VALUE = "definedValue";
50 String LOCATION = "location";
51 String EVENT_HANDLER = "eventHandler";
52 String STATE_ATTRIBUTE = "stateAttribute";
53 String STATE_VALUE = "stateValue";
54 String STATE_CHANGE = "stateChange";
55 String ELEMENT_FIELD = "field";
56
57 /* XML Condition strings */
58 String IF = "if";
59 String CONDITION = "condition";
60 String THEN = "then";
61 String ELSE = "else";
62
63 /* XML event handler strings */
64 String HANDLER_EVENT_NAME = "eventName";
65
66 /* XML constant for Type of Attribute and Value */
67 String TYPE_NULL = "null";
68 String TYPE_CONSTANT = "constant";
69 String EVENT_FIELD = "eventField";
70 String TYPE_LOCATION = "location";
71 String TYPE_QUERY = "query";
72 String TYPE_SELF = "self";
73 String TYPE_INT = "int";
74 String TYPE_LONG = "long";
75 String TYPE_DOUBLE = "double";
76 String TYPE_STRING = "string";
77 String TYPE_EVENT_NAME = "eventName";
78 String TYPE_DELETE = "delete";
79 String INCREMENT = "increment";
80 String UPDATE = "update";
81 String FORCED_TYPE = "forcedType";
82 String ATTRIBUTE_STACK = "stack";
83 String STACK_POP = "pop";
84 String STACK_PUSH = "push";
85 String STACK_PEEK = "peek";
86 String CPU = "cpu";
87
88 String TIMESTAMP = "timestamp";
89
90 /* Operator type */
91 String NOT = "not";
92 String AND = "and";
93 String OR = "or";
94
95 String OPERATOR = "operator";
96
97 /* Comparison/Condition operator types */
98 String EQ = "eq";
99 String NE = "ne";
100 String GE = "ge";
101 String GT = "gt";
102 String LE = "le";
103 String LT = "lt";
104
105 /* XML pattern elements */
106 String PATTERN = "pattern";
107
108 String STORED_FIELD = "storedField";
109 String STORED_FIELDS = "storedFields";
110
111 String PATTERN_HANDLER = "patternHandler";
112
113 /* XML synthetic event elements */
114 String SEGMENT_NAME = "segName";
115 String SEGMENT = "segment";
116 String SEGMENT_TYPE = "segType";
117 String SEGMENT_CONTENT = "segContent";
118 String SEGMENT_FIELD = "segField";
119
120 String INITIAL = "initial";
121 String TEST = "test";
122 String ACTION = "action";
123 String FSM = "fsm";
124 String STATE = "state";
125 String EVENT_INFO = "eventInfo";
126 String TIME_INFO = "timeInfo";
127 String EVENT = "event";
128 String CONSTANT_PREFIX = "#";
129 String FSM_SCHEDULE_ACTION = "fsmScheduleAction";
130 String MULTIPLE = "multiple";
131 String PRECONDITION = "precondition";
132 String COND = "cond";
133 String FINAL = "final";
134 String ABANDON_STATE = "abandonState";
135 String STATE_TABLE = "stateTable";
136 String STATE_DEFINITION = "stateDefinition";
137 String EMPTY_STRING = "";
138 String TRANSITION = "transition";
139 String TARGET = "target";
140 String SAVE_STORED_FIELDS = "saveStoredFields";
141 String CLEAR_STORED_FIELDS = "clearStoredFields";
142
143 /* Time conditions */
144 String TIME_RANGE = "timerange";
145 String ELAPSED_TIME = "elapsedTime";
146 String NS = "ns";
147 String US = "us";
148 String MS = "ms";
149 String S = "s";
150 String UNIT = "unit";
151 String IN = "in";
152 String OUT = "out";
153 String BEGIN = "begin";
154 String END = "end";
155 String LESS = "less";
156 String EQUAL = "equal";
157 String MORE = "more";
158 String SINCE = "since";
159
160 String ARG = "arg";
161 String SCENARIOS = "scenarios";
162 String ONENTRY = "onentry";
163 String ONEXIT = "onexit";
164 String OR_SEPARATOR = "\\|";
165 String AND_SEPARATOR = ":";
166 String ALIAS = "alias";
167 String ABANDON = "abandon";
168 String CONSUMING = "consuming";
169 }
This page took 0.035326 seconds and 4 git commands to generate.