ubiware.core.behaviors.creation
Class CreateAWABehavior
java.lang.Object
ubiware.core.ReusableAtomicBehavior
ubiware.core.behaviors.creation.AbstractAgentCreationBehavior
ubiware.core.behaviors.creation.AbstractDefaultAgentCreationBehavior
ubiware.core.behaviors.creation.CreateAWABehavior
- All Implemented Interfaces:
- ParametrizedAsset
public class CreateAWABehavior
- extends AbstractDefaultAgentCreationBehavior
| 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 |
CreateAWABehavior
public CreateAWABehavior()
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.
- Overrides:
initializeRAB in class AbstractDefaultAgentCreationBehavior
- Parameters:
parameters - The parameters specified by the user of this RAB.
- Throws:
IllegalParameterConfigurationException - If one of the parameters isn't correctly given.
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:
getAgentZones
protected java.util.Set<java.lang.String> getAgentZones()
- Specified by:
getAgentZones in class AbstractAgentCreationBehavior
getPolicyChecker
protected PolicyChecker getPolicyChecker(UbiwareAgent newAgent)
- Specified by:
getPolicyChecker in class AbstractAgentCreationBehavior
registerToPolicyAgent
protected void registerToPolicyAgent()
- Overrides:
registerToPolicyAgent in class AbstractAgentCreationBehavior