ibspan.ecap.merchant.shopdecisions
Class ProductRunOutHandler

java.lang.Object
  extended by jade.core.behaviours.Behaviour
      extended by jade.core.behaviours.SimpleBehaviour
          extended by jade.core.behaviours.OneShotBehaviour
              extended by ibspan.ecap.merchant.shopdecisions.ProductRunOutHandler
All Implemented Interfaces:
java.io.Serializable

public class ProductRunOutHandler
extends jade.core.behaviours.OneShotBehaviour

A behaviour responding to a product run out event. It does so by immediately scheduling the preparation of a new sales forecast.

Author:
Micha³ Drozdowicz
See Also:
Serialized Form

Field Summary
static java.lang.String MESSAGE_KEY
           
 
Fields inherited from class jade.core.behaviours.Behaviour
STATE_BLOCKED, STATE_READY, STATE_RUNNING
 
Constructor Summary
ProductRunOutHandler(jade.core.Agent myAgent)
           
 
Method Summary
 void action()
           
 
Methods inherited from class jade.core.behaviours.OneShotBehaviour
done
 
Methods inherited from class jade.core.behaviours.SimpleBehaviour
reset
 
Methods inherited from class jade.core.behaviours.Behaviour
actionWrapper, block, block, getBehaviourName, getDataStore, getExecutionState, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore, setExecutionState
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MESSAGE_KEY

public static final java.lang.String MESSAGE_KEY
See Also:
Constant Field Values
Constructor Detail

ProductRunOutHandler

public ProductRunOutHandler(jade.core.Agent myAgent)
Method Detail

action

public void action()
Specified by:
action in class jade.core.behaviours.Behaviour