How would one model several tasks in hierarchy?
What I would be able to do is:
- group several tasks {T1, T2, .., Tn} in groups G1 = {T1, T2, ..}
- group several groups {G1, G2, .., Gn} in phases so that P1 = {G1, G2, ..}
When T0 -> Tn all have signaled the group Gn finishes.
When G0 -> Gn all have signaled the phase Pn finishes.
Setting this up with fork and joins would suggest that:
start -> phases_fork -> p1..pn fork -> g1..gn task-node which contains
{T1...Tn} task -> p1..pn join -> phases_join -> end
So far so good. :)
My problem is that in my ui i need to be able to render the hierarchy to screen
but I see no way of knowing wich phase and group a particular task belong to.
I guess I could add two variables to every task but it seems awkard at best.
I've been thinking about superstates, milestones etc but have no real idea how
to go about this. Any suggestions?
/Mats
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926486#3926486
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926486
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user