tmf: Add method to replace a statesystem's ongoing state
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Thu, 28 Feb 2013 23:01:27 +0000 (18:01 -0500)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Mon, 4 Mar 2013 16:10:16 +0000 (11:10 -0500)
commit66866869595e11160f4d9b521f03baa9220dd0d4
tree2d59c12940fcfcb99a1fec18ca163f7dfeac4851
parent602c06978f31419b646228e973021e02672fcd11
tmf: Add method to replace a statesystem's ongoing state

Replace the vestigial TransientState.changeOngoingStateInfo()
(which was never used so far) with a similar method that can
generate a current state from an array of intervals.

For now, this this potentially dangerous method is only exposed
to classes extending StateSystem.

This will be useful for the partial history, but also for anybody
wanting to do funky stuff with the state system.

Change-Id: Ieebe6dfceb57c1437d81fd9a97c6be10040afeb4
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/10760
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/statesystem/StateSystem.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/statesystem/TransientState.java
This page took 0.025967 seconds and 5 git commands to generate.