X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=org.eclipse.linuxtools.tmf.core%2Fsrc%2Forg%2Feclipse%2Flinuxtools%2Ftmf%2Fcore%2Fstatesystem%2FIStateChangeInput.java;h=95a8f0305378381a0bebec508a381863f381557b;hb=f1f86dfb492c7e41eb81a62c651b26e7b4fdb406;hp=9ed2079529402b150fcabd761dcdc5d9f6c38653;hpb=55b4a3a7d457ac58449b1c090e613a7c34193f2c;p=deliverable%2Ftracecompass.git diff --git a/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statesystem/IStateChangeInput.java b/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statesystem/IStateChangeInput.java index 9ed2079529..95a8f03053 100644 --- a/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statesystem/IStateChangeInput.java +++ b/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statesystem/IStateChangeInput.java @@ -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 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