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

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

public class Sequence
extends java.lang.Object
implements Action

The sequence of actions.

Version:
$Id: Sequence.java,v 1.5 2006/09/28 12:00:24 vashorin Exp $
Author:
Alexander Lukichev

Constructor Summary
Sequence()
           
 
Method Summary
 void addAction(Action action)
          Add the next action to the sequence.
 void emitCode(Scope scope, org.w3c.dom.Element target)
          Emit the piece of code corresponding to the current action.
 boolean isEmpty()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sequence

public Sequence()
Method Detail

addAction

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

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

isEmpty

public boolean isEmpty()


Copyright © 2008. All Rights Reserved.