com.intel.gpe.clients.api.workflow
Class Flow

java.lang.Object
  extended by com.intel.gpe.clients.api.workflow.Flow
All Implemented Interfaces:
Action

public class Flow
extends java.lang.Object
implements Action

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.

Version:
$Id: Flow.java,v 1.4 2006/02/17 08:15:37 serduk Exp $
Author:
Alexander Lukichev

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

Flow

public Flow()
Method Detail

addAction

public void addAction(Action action)
Add the next parallel action to the construct.

Parameters:
action - the action

emitCode

public void emitCode(Scope scope,
                     org.w3c.dom.Element target)
              throws java.lang.Exception
Description copied from interface: Action
Emit the piece of code corresponding to the current action.

Specified by:
emitCode in interface Action
Parameters:
scope - The variable scope of the workflow
target - The XML DOM element to append the action code to
Throws:
java.lang.Exception - In a case of error


Copyright © 2008. All Rights Reserved.