XML state system: Add timestamp field to the current eventfields
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.analysis.xml.core / src / org / eclipse / linuxtools / tmf / analysis / xml / core / stateprovider / TmfXmlStrings.java
index c1fea05fa8382c358a4e9f1a1017931c69915af3..a3f61ef8a704579968084417eda2df893e5e15b7 100644 (file)
 
 package org.eclipse.linuxtools.tmf.analysis.xml.core.stateprovider;
 
+import org.eclipse.jdt.annotation.NonNullByDefault;
+
 /**
  * This file defines all name in the XML Structure for the State Provider
  *
  * @author Florian Wininger
+ * @noimplement This interface only contains static defines
  */
 @SuppressWarnings({ "javadoc", "nls" })
+@NonNullByDefault
 public interface TmfXmlStrings {
 
     /* XML generic Element attribute names */
     static final String VALUE = "value";
-    static final String ANALYSIS_ID = "analysisId";
     static final String NAME = "name";
     static final String VERSION = "version";
     static final String TYPE = "type";
@@ -32,11 +35,14 @@ public interface TmfXmlStrings {
     static final String TRACETYPE = "traceType";
     static final String ID = "id";
     static final String LABEL = "label";
+    static final String ANALYSIS = "analysis";
 
     /* XML String */
     static final String NULL = "";
     static final String WILDCARD = "*";
     static final String VARIABLE_PREFIX = "$";
+    static final String COLOR = "color";
+    static final String COLOR_PREFIX = "#";
 
     /* XML Element Name */
     static final String STATE_PROVIDER = "stateProvider";
@@ -63,6 +69,7 @@ public interface TmfXmlStrings {
     static final String EVENT_FIELD = "eventField";
     static final String TYPE_LOCATION = "location";
     static final String TYPE_QUERY = "query";
+    static final String TYPE_SELF = "self";
     static final String TYPE_INT = "int";
     static final String TYPE_LONG = "long";
     static final String TYPE_STRING = "string";
@@ -76,6 +83,11 @@ public interface TmfXmlStrings {
     static final String STACK_PEEK = "peek";
     static final String CPU = "cpu";
 
+    /**
+     * @since 1.2
+     */
+    static final String TIMESTAMP = "timestamp";
+
     /* Operator type */
     static final String NOT = "not";
     static final String AND = "and";
This page took 0.024683 seconds and 5 git commands to generate.