X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=org.eclipse.linuxtools.tmf.core%2Fsrc%2Forg%2Feclipse%2Flinuxtools%2Ftmf%2Fcore%2Fstatesystem%2FITmfStateSystemBuilder.java;h=97bd4dbd707f0dba3a4921d8e55f1ec904b51bb6;hb=6dd468307826e772f8fb5bedd55f9410b8cf8046;hp=08bd7e62c99051d09fe512c9f1763cef84ab3b51;hpb=2e75ef6e4e31f4372f98e841de6cefef064e0340;p=deliverable%2Ftracecompass.git diff --git a/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statesystem/ITmfStateSystemBuilder.java b/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statesystem/ITmfStateSystemBuilder.java index 08bd7e62c9..97bd4dbd70 100644 --- a/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statesystem/ITmfStateSystemBuilder.java +++ b/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statesystem/ITmfStateSystemBuilder.java @@ -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); }