ubiware.core.behaviors
Class BeliefsLoadBehavior

java.lang.Object
  extended by ubiware.core.ReusableAtomicBehavior
      extended by ubiware.core.behaviors.BeliefsLoadBehavior
All Implemented Interfaces:
ParametrizedAsset

public class BeliefsLoadBehavior
extends ReusableAtomicBehavior


Field Summary
 
Fields inherited from class ubiware.core.ReusableAtomicBehavior
finished, myAgent
 
Constructor Summary
BeliefsLoadBehavior()
           
 
Method Summary
protected  void doAction()
          Derived RAB's should implement this method and do their action within it.
protected  void initializeRAB(BehaviorStartParameters parameters)
          Derived RAB's should implement this method and initialise all the needed parameters to run the RAB.
 
Methods inherited from class ubiware.core.ReusableAtomicBehavior
addBeliefs, addBeliefsN3, addBeliefsN3, addBeliefsN3, addCommand, addOnBlackboard, block, block, done, equals, eraseBeliefs, getFromBlackboard, getStatements, getStatements, hasBeenExecuted, hasBeliefs, hasBeliefs, hasBeliefsN3, hasBeliefsN3, hasBeliefsN3, hasBeliefsN3, hashCode, hasSucceededTillNow, moveBeliefs, onRABEnd, print, printError, produceN3, produceN3, produceN3Document, produceN3Document, removeBeliefs, removeBeliefsN3, removeBeliefsN3, removeFromBlackboard, restart, sendMessage, sendMessage, setFailed, setStartParameters, wakeAgent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeliefsLoadBehavior

public BeliefsLoadBehavior()
Method Detail

initializeRAB

protected void initializeRAB(BehaviorStartParameters parameters)
                      throws IllegalParameterConfigurationException
Description copied from class: ReusableAtomicBehavior
Derived RAB's should implement this method and initialise all the needed parameters to run the RAB. The supplied parameters object might become invalid after this call.

Specified by:
initializeRAB in class ReusableAtomicBehavior
Parameters:
parameters - The parameters specified by the user of this RAB.
Throws:
IllegalParameterConfigurationException - If one of the parameters isn't correctly given.

doAction

protected void doAction()
                 throws java.io.IOException
Description copied from class: ReusableAtomicBehavior
Derived RAB's should implement this method and do their action within it. The derived RAB can assume that doAction is never called without a successful call to ReusableAtomicBehavior.initializeRAB(BehaviorStartParameters)

Specified by:
doAction in class ReusableAtomicBehavior
Throws:
java.io.IOException