/*******************************************************************************
- * Copyright (c) 2012, 2013 Ericsson
+ * Copyright (c) 2012, 2015 Ericsson
* Copyright (c) 2010, 2011 École Polytechnique de Montréal
* Copyright (c) 2010, 2011 Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
*
* the pipeline which converts trace events to state changes.
*
* @author Alexandre Montplaisir
- * @since 2.0
*/
public interface ITmfStateProvider {
* rebuilt from scratch (if the versions don't match).
*
* @return The version number of the input plugin
- * @since 2.0
*/
int getVersion();
*/
long getStartTime();
- /**
- * Method for the input plugin to specify which type of events it expects.
- * This will guarantee that all events it receives via processEvent() are
- * indeed of the given type, so it should be safe to cast to that type.
- *
- * @return The expected Class of the event. Only events of this class (and
- * valid subclasses) will be handled.
- * @since 2.0
- */
- Class<? extends ITmfEvent> getExpectedEventType();
-
/**
* Assign the target state system where this SCI will insert its state
* changes. Because of dependencies issues, this can normally not be done at
* @param ssb
* Target state system for the state changes generated by this
* input plugin
- * @since 3.0
*/
void assignTargetStateSystem(ITmfStateSystemBuilder ssb);
*
* @return Reference to the currently assigned state system, or null if no
* SS is assigned yet
- * @since 3.0
*/
@Nullable ITmfStateSystem getAssignedStateSystem();
*
* @return A new state change input object, of the same type, but without an
* assigned target state system
- * @since 2.0
*/
ITmfStateProvider getNewInstance();