de.fhg.igd.jhsm
Interface Action

All Known Implementing Classes:
AbstractAction, CollectLocalOwnersAction, LocalOwnerAction

public interface Action

"An action is an executable atomic computation." - Booch et al, The UML User Guide.

Actions encapsulate the behavior of hsm components like states or transitions. Per definition actions are not interruptible.

Version:
"$Id: Action.java 1913 2007-08-08 02:41:53Z jpeters $"
Author:
Jan Haevecker

Method Summary
 void perform(Context context)
          Performs the action in a specified context.
 

Method Detail

perform

public void perform(Context context)
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.