/*******************************************************************************
- * 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
* @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,
* "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
* @throws AttributeNotFoundException
* If the requested attribute is invalid
*/
- public void updateOngoingState(ITmfStateValue newValue, int attributeQuark)
+ void updateOngoingState(ITmfStateValue newValue, int attributeQuark)
throws AttributeNotFoundException;
/**
* 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
* @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:
* 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
* 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
* @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
* 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);
}