Package jadex.bdiv3x.runtime
Class RInternalEvent
- java.lang.Object
-
- jadex.bdiv3.runtime.impl.RElement
-
- jadex.bdiv3.runtime.impl.RParameterElement
-
- jadex.bdiv3.runtime.impl.RProcessableElement
-
- jadex.bdiv3x.runtime.RInternalEvent
-
- All Implemented Interfaces:
IElement
,IInternalEvent
,IParameterElement
,IMapAccess
public class RInternalEvent extends jadex.bdiv3.runtime.impl.RProcessableElement implements IInternalEvent
The runtime internal event.
-
-
Constructor Summary
Constructors Constructor Description RInternalEvent(MInternalEvent modelelement, IInternalAccess agent, MConfigParameterElement config)
Create a new runtime element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFetcherName()
Get the name of the element in the fetcher (e.g.boolean
isAdopted()
Check if the element is currently part of the agent's reasoning.-
Methods inherited from class jadex.bdiv3.runtime.impl.RProcessableElement
addTriedPlan, getApplicablePlanList, getPojoElement, getState, getTriedPlans, planFinished, setApplicablePlanList, setPojoElement, setState, setState, setTriedPlans, testWriteOK
-
Methods inherited from class jadex.bdiv3.runtime.impl.RParameterElement
addParameter, addParameterSet, createParameter, createParameter, createParameterSet, createParameterSet, get, getParameter, getParameters, getParameterSet, getParameterSets, getType, hasParameter, hasParameterSet, initParameters, wrapFetcher
-
Methods inherited from class jadex.bdiv3.runtime.impl.RElement
getAgent, getCapability, getId, getMCapability, getModelElement, getRuleSystem, setId, setModelElement, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jadex.bdiv3x.runtime.IElement
getModelElement
-
Methods inherited from interface jadex.bdiv3x.runtime.IParameterElement
getParameter, getParameters, getParameterSet, getParameterSets, getType, hasParameter, hasParameterSet
-
-
-
-
Constructor Detail
-
RInternalEvent
public RInternalEvent(MInternalEvent modelelement, IInternalAccess agent, MConfigParameterElement config)
Create a new runtime element.
-
-
Method Detail
-
getFetcherName
public java.lang.String getFetcherName()
Get the name of the element in the fetcher (e.g. $goal).- Specified by:
getFetcherName
in classjadex.bdiv3.runtime.impl.RParameterElement
- Returns:
- The element name in the fetcher name.
-
isAdopted
public boolean isAdopted()
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 classjadex.bdiv3.runtime.impl.RParameterElement
-
-