ubiware.core.behaviors.creation
Class AbstractAgentCreationBehavior
java.lang.Object
ubiware.core.ReusableAtomicBehavior
ubiware.core.behaviors.creation.AbstractAgentCreationBehavior
- All Implemented Interfaces:
- ParametrizedAsset
- Direct Known Subclasses:
- AbstractDefaultAgentCreationBehavior
public abstract class AbstractAgentCreationBehavior
- extends ReusableAtomicBehavior
| 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 |
ZONE_MEMEBEROF
public static final java.lang.String ZONE_MEMEBEROF
- See Also:
- Constant Field Values
AbstractAgentCreationBehavior
public AbstractAgentCreationBehavior()
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 final void doAction()
throws jade.wrapper.StaleProxyException
- 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:
jade.wrapper.StaleProxyException
registerToPolicyAgent
protected void registerToPolicyAgent()
getAgentZones
protected abstract java.util.Set<java.lang.String> getAgentZones()
getAgentName
protected abstract ubiware.util.saplbuilder.Resource getAgentName()
getAgentScripts
protected abstract java.util.Set<java.lang.String> getAgentScripts()
getAgentRoles
protected java.util.Set<java.lang.String> getAgentRoles()
getAgentInitialBeliefs
protected ubiware.util.saplbuilder.SaplDocument getAgentInitialBeliefs()
getPolicyChecker
protected abstract PolicyChecker getPolicyChecker(UbiwareAgent newAgent)
informPolicyAgent
protected final void informPolicyAgent(java.lang.String content,
java.lang.String ontology)