Package jadex.bdiv3.runtime
Interface ICapability
-
public interface ICapability
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> void
addBeliefListener(java.lang.String name, IBeliefListener<T> listener)
Add a belief listener.IInternalAccess
getAgent()
Get the agent.java.lang.Object
getPojoCapability()
Get the pojo capability object.<T> void
removeBeliefListener(java.lang.String name, IBeliefListener<T> listener)
Remove a belief listener.
-
-
-
Method Detail
-
addBeliefListener
<T> void addBeliefListener(java.lang.String name, IBeliefListener<T> listener)
Add a belief listener.- Parameters:
name
- The belief name.listener
- The belief listener.
-
removeBeliefListener
<T> void removeBeliefListener(java.lang.String name, IBeliefListener<T> listener)
Remove a belief listener.- Parameters:
name
- The belief name.listener
- The belief listener.
-
getAgent
IInternalAccess getAgent()
Get the agent.
-
getPojoCapability
java.lang.Object getPojoCapability()
Get the pojo capability object. Only applicable for Pojo BDI agents (i.e. not for XML BDI agents).- Returns:
- The user defined java object for the capability.
- Throws:
java.lang.UnsupportedOperationException
- for XML BDI agents.
-
-