public interface ICapability
Modifier and Type | Method and 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.
|
<T> void addBeliefListener(java.lang.String name, IBeliefListener<T> listener)
name
- The belief name.listener
- The belief listener.<T> void removeBeliefListener(java.lang.String name, IBeliefListener<T> listener)
name
- The belief name.listener
- The belief listener.IInternalAccess getAgent()
java.lang.Object getPojoCapability()
java.lang.UnsupportedOperationException
- for XML BDI agents.