tmf: Add the Tmf- prefix to the state system interfaces
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / statesystem / IStateChangeInput.java
index 9ed2079529402b150fcabd761dcdc5d9f6c38653..95a8f0305378381a0bebec508a381863f381557b 100644 (file)
@@ -22,7 +22,7 @@ import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace;
  * Usually a state change input, also called "state provider" is the piece of
  * the pipeline which converts trace events to state changes.
  *
- * @version 1.0
+ * @version 2.0
  * @author Alexandre Montplaisir
  */
 public interface IStateChangeInput {
@@ -48,11 +48,11 @@ public interface IStateChangeInput {
      * 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 An example event of the expected class, which implements
-     *         ITmfEvent. The contents of that event doesn't matter, only the
-     *         class will be checked.
+     * @return The expected Class of the event. Only events of this class (and
+     *         valid subclasses) will be handled.
+     * @since 2.0
      */
-    public ITmfEvent getExpectedEventType();
+    public Class<? extends ITmfEvent> getExpectedEventType();
 
     /**
      * Assign the target state system where this SCI will insert its state
@@ -64,8 +64,9 @@ public interface IStateChangeInput {
      * @param ssb
      *            Target state system for the state changes generated by this
      *            input plugin
+     * @since 2.0
      */
-    public void assignTargetStateSystem(IStateSystemBuilder ssb);
+    public void assignTargetStateSystem(ITmfStateSystemBuilder ssb);
 
     /**
      * Send an event to this input plugin for processing. The implementation
This page took 0.025182 seconds and 5 git commands to generate.