TMF: Introduce the XML state provider for data driven analysis
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.analysis.xml.core / src / org / eclipse / linuxtools / 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.linuxtools.tmf.analysis.xml.core.stateprovider;
14
15 /**
16 * This file defines all name in the XML Structure for the State Provider
17 *
18 * @author Florian Wininger
19 */
20 @SuppressWarnings({ "javadoc", "nls" })
21 public interface TmfXmlStrings {
22
23 /* XML generic Element attribute names */
24 static final String VALUE = "value";
25 static final String ANALYSIS_ID = "analysisId";
26 static final String NAME = "name";
27 static final String VERSION = "version";
28 static final String TYPE = "type";
29
30 /* XML header element */
31 static final String HEAD = "head";
32 static final String TRACETYPE = "traceType";
33 static final String ID = "id";
34 static final String LABEL = "label";
35
36 /* XML String */
37 static final String NULL = "";
38 static final String WILDCARD = "*";
39 static final String VARIABLE_PREFIX = "$";
40
41 /* XML Element Name */
42 static final String STATE_PROVIDER = "stateProvider";
43 static final String DEFINED_VALUE = "definedValue";
44 static final String LOCATION = "location";
45 static final String EVENT_HANDLER = "eventHandler";
46 static final String STATE_ATTRIBUTE = "stateAttribute";
47 static final String STATE_VALUE = "stateValue";
48 static final String STATE_CHANGE = "stateChange";
49 static final String ELEMENT_FIELD = "field";
50
51 /* XML Condition strings */
52 static final String IF = "if";
53 static final String CONDITION = "condition";
54 static final String THEN = "then";
55 static final String ELSE = "else";
56
57 /* XML event handler strings */
58 static final String HANDLER_EVENT_NAME = "eventName";
59
60 /* XML constant for Type of Attribute and Value */
61 static final String TYPE_NULL = "null";
62 static final String TYPE_CONSTANT = "constant";
63 static final String EVENT_FIELD = "eventField";
64 static final String TYPE_LOCATION = "location";
65 static final String TYPE_QUERY = "query";
66 static final String TYPE_INT = "int";
67 static final String TYPE_LONG = "long";
68 static final String TYPE_STRING = "string";
69 static final String TYPE_EVENT_NAME = "eventName";
70 static final String TYPE_DELETE = "delete";
71 static final String INCREMENT = "increment";
72 static final String FORCED_TYPE = "forcedType";
73 static final String ATTRIBUTE_STACK = "stack";
74 static final String STACK_POP = "pop";
75 static final String STACK_PUSH = "push";
76 static final String STACK_PEEK = "peek";
77 static final String CPU = "cpu";
78
79 /* Operator type */
80 static final String NOT = "not";
81 static final String AND = "and";
82 static final String OR = "or";
83
84 }
This page took 0.035969 seconds and 6 git commands to generate.