|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.intel.gpe.clients.api.workflow.Flow
public class Flow
The set of parallel actions. Actions are executed simultaneously
in different threads sharing the common set of global variables.
The execution of the flow is
terminated after all the actions finish. If any nested
action fails the flow fails too.
| Constructor Summary | |
|---|---|
Flow()
|
|
| Method Summary | |
|---|---|
void |
addAction(Action action)
Add the next parallel action to the construct. |
void |
emitCode(Scope scope,
org.w3c.dom.Element target)
Emit the piece of code corresponding to the current action. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Flow()
| Method Detail |
|---|
public void addAction(Action action)
action - the action
public void emitCode(Scope scope,
org.w3c.dom.Element target)
throws java.lang.Exception
Action
emitCode in interface Actionscope - The variable scope of the workflowtarget - The XML DOM element to append the action code to
java.lang.Exception - In a case of error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||