Package jadex.bdi.runtime.impl
Class RMessageEvent<T>
java.lang.Object
jadex.bdi.runtime.impl.RElement
jadex.bdi.runtime.impl.RParameterElement
jadex.bdi.runtime.impl.RProcessableElement
jadex.bdi.runtime.impl.RMessageEvent<T>
- All Implemented Interfaces:
IElement
,IParameterElement
,jadex.javaparser.IMapAccess
The runtime message event.
-
Nested Class Summary
Nested classes/interfaces inherited from class jadex.bdi.runtime.impl.RProcessableElement
RProcessableElement.State
Nested classes/interfaces inherited from class jadex.bdi.runtime.impl.RParameterElement
RParameterElement.RParameter, RParameterElement.RParameterSet
-
Field Summary
Fields inherited from class jadex.bdi.runtime.impl.RProcessableElement
apl, pojoelement, state, triedplans
Fields inherited from class jadex.bdi.runtime.impl.RParameterElement
parameters, parametersets
Fields inherited from class jadex.bdi.runtime.impl.RElement
cnt, id, modelelement
-
Constructor Summary
ConstructorsConstructorDescriptionRMessageEvent
(MProcessableElement modelelement, Object pojoelement, Map<String, Object> vals, MConfigParameterElement config) -
Method Summary
Modifier and TypeMethodDescriptionGet the name of the element in the fetcher (e.g.boolean
Check if the element is currently part of the agent's reasoning.Methods inherited from class jadex.bdi.runtime.impl.RProcessableElement
addTriedPlan, getApplicablePlanList, getPojoElement, getState, getTriedPlans, planFinished, setApplicablePlanList, setPojoElement, setState, setTriedPlans, testWriteOK, toString
Methods inherited from class jadex.bdi.runtime.impl.RParameterElement
addParameter, addParameterSet, createParameter, createParameter, createParameterSet, createParameterSet, get, getParameter, getParameters, getParameterSet, getParameterSets, getType, hasParameter, hasParameterSet, initParameters, wrapFetcher
Methods inherited from class jadex.bdi.runtime.impl.RElement
getAgent, getCapability, getCount, getId, getMCapability, getModelElement, getRuleSystem, setId, setModelElement
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface jadex.bdi.runtime.IElement
getCount, getId, getModelElement
-
Constructor Details
-
RMessageEvent
public RMessageEvent(MProcessableElement modelelement, Object pojoelement, Map<String, Object> vals, MConfigParameterElement config)
-
-
Method Details
-
getFetcherName
Description copied from class:RParameterElement
Get the name of the element in the fetcher (e.g. $goal).- Specified by:
getFetcherName
in classRParameterElement
- Returns:
- The element name in the fetcher name.
-
isAdopted
public boolean isAdopted()Description copied from class:RParameterElement
Check if the element is currently part of the agent's reasoning. E.g. the bases are always adopted and all of their contents such as goals, plans and beliefs.- Specified by:
isAdopted
in classRParameterElement
-