ctf: Don't include all test traces in jar
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / statesystem / ITmfStateSystemBuilder.java
index 08bd7e62c99051d09fe512c9f1763cef84ab3b51..5064cfefd24ef72abf8b57161abf5fa3d762515d 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2014 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -51,7 +51,7 @@ public interface ITmfStateSystemBuilder extends ITmfStateSystem {
      * @return The quark of the attribute (which either existed or just got
      *         created)
      */
-    public int getQuarkAbsoluteAndAdd(String... attribute);
+    int getQuarkAbsoluteAndAdd(String... attribute);
 
     /**
      * "Relative path" quark-getting method. Instead of specifying a full path,
@@ -72,7 +72,7 @@ public interface ITmfStateSystemBuilder extends ITmfStateSystem {
      *            "Rest" of the path to get to the final attribute
      * @return The matching quark, either if it's new of just got created.
      */
-    public int getQuarkRelativeAndAdd(int startingNodeQuark, String... subPath);
+    int getQuarkRelativeAndAdd(int startingNodeQuark, String... subPath);
 
     /**
      * @name State-changing methods
@@ -97,7 +97,7 @@ public interface ITmfStateSystemBuilder extends ITmfStateSystem {
      * @throws AttributeNotFoundException
      *             If the requested attribute is invalid
      */
-    public void updateOngoingState(ITmfStateValue newValue, int attributeQuark)
+    void updateOngoingState(ITmfStateValue newValue, int attributeQuark)
             throws AttributeNotFoundException;
 
     /**
@@ -119,9 +119,8 @@ public interface ITmfStateSystemBuilder extends ITmfStateSystem {
      *             If the inserted state value's type does not match what is
      *             already assigned to this attribute.
      */
-    public void modifyAttribute(long t, ITmfStateValue value, int attributeQuark)
-            throws TimeRangeException, AttributeNotFoundException,
-            StateValueTypeException;
+    void modifyAttribute(long t, ITmfStateValue value, int attributeQuark)
+            throws AttributeNotFoundException, StateValueTypeException;
 
     /**
      * Increment attribute method. Reads the current value of a given integer
@@ -140,9 +139,8 @@ public interface ITmfStateSystemBuilder extends ITmfStateSystem {
      * @throws AttributeNotFoundException
      *             If the quark is invalid
      */
-    public void incrementAttribute(long t, int attributeQuark)
-            throws StateValueTypeException, TimeRangeException,
-            AttributeNotFoundException;
+    void incrementAttribute(long t, int attributeQuark)
+            throws AttributeNotFoundException, StateValueTypeException;
 
     /**
      * "Push" helper method. This uses the given integer attribute as a stack:
@@ -166,9 +164,8 @@ public interface ITmfStateSystemBuilder extends ITmfStateSystem {
      *             If the attribute 'attributeQuark' already exists, but is not
      *             of integer type.
      */
-    public void pushAttribute(long t, ITmfStateValue value, int attributeQuark)
-            throws TimeRangeException, AttributeNotFoundException,
-            StateValueTypeException;
+    void pushAttribute(long t, ITmfStateValue value, int attributeQuark)
+            throws AttributeNotFoundException, StateValueTypeException;
 
     /**
      * Antagonist of the pushAttribute(), pops the top-most attribute on the
@@ -191,9 +188,8 @@ public interface ITmfStateSystemBuilder extends ITmfStateSystem {
      *             type is invalid (not an integer)
      * @since 2.0
      */
-    public ITmfStateValue popAttribute(long t, int attributeQuark)
-            throws AttributeNotFoundException, TimeRangeException,
-            StateValueTypeException;
+    ITmfStateValue popAttribute(long t, int attributeQuark)
+            throws AttributeNotFoundException, StateValueTypeException;
 
     /**
      * Remove attribute method. Similar to the above modify- methods, with value
@@ -209,8 +205,8 @@ public interface ITmfStateSystemBuilder extends ITmfStateSystem {
      * @throws AttributeNotFoundException
      *             If the quark is invalid
      */
-    public void removeAttribute(long t, int attributeQuark)
-            throws TimeRangeException, AttributeNotFoundException;
+    void removeAttribute(long t, int attributeQuark)
+            throws AttributeNotFoundException;
 
     /**
      * Method to close off the History Provider. This happens for example when
@@ -228,5 +224,5 @@ public interface ITmfStateSystemBuilder extends ITmfStateSystem {
      *             it's earlier than the latest time) and the backend doesn't
      *             know how to handle it.
      */
-    public void closeHistory(long endTime) throws TimeRangeException;
+    void closeHistory(long endTime);
 }
This page took 0.025458 seconds and 5 git commands to generate.