examples.guestbook
Class AgentBehaviour.ReportAction

java.lang.Object
  extended byde.fhg.igd.jhsm.AbstractAction
      extended byexamples.guestbook.AgentBehaviour.ReportAction
All Implemented Interfaces:
Action, Serializable
Enclosing class:
AgentBehaviour

private class AgentBehaviour.ReportAction
extends AbstractAction

This action gives the user an report of the agent's actions. Due to simplicity the report is printed to stdout. The information are taken from the HSM context.


Field Summary
 
Fields inherited from class de.fhg.igd.jhsm.AbstractAction
 
Constructor Summary
private AgentBehaviour.ReportAction()
           
 
Method Summary
 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
 

Constructor Detail

AgentBehaviour.ReportAction

private AgentBehaviour.ReportAction()
Method Detail

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.