ubiware.core.behaviors.creation
Class CreatePUABehavior

java.lang.Object
  extended by ubiware.core.ReusableAtomicBehavior
      extended by ubiware.core.behaviors.creation.AbstractAgentCreationBehavior
          extended by ubiware.core.behaviors.creation.AbstractDefaultAgentCreationBehavior
              extended by ubiware.core.behaviors.creation.CreatePUABehavior
All Implemented Interfaces:
ParametrizedAsset

public class CreatePUABehavior
extends AbstractDefaultAgentCreationBehavior


Field Summary
 
Fields inherited from class ubiware.core.behaviors.creation.AbstractAgentCreationBehavior
ZONE_MEMEBEROF
 
Fields inherited from class ubiware.core.ReusableAtomicBehavior
finished, myAgent
 
Constructor Summary
CreatePUABehavior()
           
 
Method Summary
protected  java.util.Set<java.lang.String> getAgentScripts()
          override the scripts by setting it to those
protected  java.util.Set<java.lang.String> getAgentZones()
           
protected  ubiware.util.saplbuilder.Resource getNewAgentName()
          Implemented by subclasses providing a new name if needed by the behavior.
protected  PolicyChecker getPolicyChecker(UbiwareAgent newAgent)
           
 
Methods inherited from class ubiware.core.behaviors.creation.AbstractDefaultAgentCreationBehavior
getAgentInitialBeliefs, getAgentName, getAgentRoles, initializeRAB
 
Methods inherited from class ubiware.core.behaviors.creation.AbstractAgentCreationBehavior
doAction, informPolicyAgent, registerToPolicyAgent
 
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

CreatePUABehavior

public CreatePUABehavior()
Method Detail

getAgentScripts

protected java.util.Set<java.lang.String> getAgentScripts()
override the scripts by setting it to those

Overrides:
getAgentScripts in class AbstractDefaultAgentCreationBehavior

getPolicyChecker

protected PolicyChecker getPolicyChecker(UbiwareAgent newAgent)
Specified by:
getPolicyChecker in class AbstractAgentCreationBehavior

getAgentZones

protected java.util.Set<java.lang.String> getAgentZones()
Specified by:
getAgentZones in class AbstractAgentCreationBehavior

getNewAgentName

protected ubiware.util.saplbuilder.Resource getNewAgentName()
Description copied from class: AbstractDefaultAgentCreationBehavior
Implemented by subclasses providing a new name if needed by the behavior.

Specified by:
getNewAgentName in class AbstractDefaultAgentCreationBehavior
Returns: