de.fhg.igd.jhsm
Class CompositeAction

java.lang.Object
  extended byde.fhg.igd.jhsm.AbstractAction
      extended byde.fhg.igd.jhsm.CompositeAction
All Implemented Interfaces:
Action, Serializable

public class CompositeAction
extends AbstractAction

An action that is composed of a sequence of other actions.

Version:
"$Id: CompositeAction.java 1913 2007-08-08 02:41:53Z jpeters $"
Author:
Jan Haevecker
See Also:
Serialized Form

Field Summary
(package private)  List sequence_
           
 
Fields inherited from class de.fhg.igd.jhsm.AbstractAction
 
Constructor Summary
CompositeAction()
           
 
Method Summary
 void addAction(Action action)
           
 void perform(Context context)
          Performs the action in a specified context.
 
Methods inherited from class de.fhg.igd.jhsm.AbstractAction
getParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sequence_

List sequence_
Constructor Detail

CompositeAction

public CompositeAction()
Method Detail

addAction

public void addAction(Action action)

perform

public void perform(Context context)
Description copied from interface: Action
Performs the action in a specified context. This is the hook for the interpreter. The code that defines the action is found here.

Parameters:
context - Used to publish and retrieve data for/from other actions.


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.