|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICapability
A capability is a self-contained agent module as specified in an agent definition file (ADF).
Method Summary | |
---|---|
void |
addAgentListener(IAgentListener listener,
boolean async)
Add an agent listener |
void |
addSubcapability(String name,
String capafile)
Deprecated. |
void |
deregisterSubcapability(IMCapabilityReference subcap)
Deregister a subcapability. |
BasicAgentIdentifier |
getAgentIdentifier()
Get the agent identifier. |
String |
getAgentName()
Get the agent name. |
IBeliefbase |
getBeliefbase()
Get the belief base. |
IEventbase |
getEventbase()
Get the event base. |
IExpressionbase |
getExpressionbase()
Get the expression base. |
IExternalAccess |
getExternalAccess()
Get the scope. |
IGoalbase |
getGoalbase()
Get the goal base. |
String |
getInitialStateName()
Get the initial state name. |
Logger |
getLogger()
Get the logger. |
IPlanbase |
getPlanbase()
Get the plan base. |
Object |
getPlatformAgent()
Get the platform agent. |
String |
getPlatformType()
Get the platform type. |
IPropertybase |
getPropertybase()
Get the property base. |
void |
killAgent()
Kill the agent. |
void |
registerSubcapability(IMCapabilityReference subcap)
Register a subcapability. |
void |
removeAgentListener(IAgentListener listener)
Add an agent listener |
void |
removeSubcapability(String name)
Deprecated. |
Methods inherited from interface jadex.runtime.IElement |
---|
getModelElement, getName |
Method Detail |
---|
IExternalAccess getExternalAccess()
IBeliefbase getBeliefbase()
IGoalbase getGoalbase()
IPlanbase getPlanbase()
IEventbase getEventbase()
IExpressionbase getExpressionbase()
IPropertybase getPropertybase()
void addSubcapability(String name, String capafile)
name
- The name to give to the new capability.capafile
- The capability identifier or filename.void removeSubcapability(String name)
name
- The subcapability name.void registerSubcapability(IMCapabilityReference subcap)
subcap
- The subcapability.void deregisterSubcapability(IMCapabilityReference subcap)
subcap
- The subcapability.Logger getLogger()
String getAgentName()
String getInitialStateName()
BasicAgentIdentifier getAgentIdentifier()
Object getPlatformAgent()
String getPlatformType()
void killAgent()
void addAgentListener(IAgentListener listener, boolean async)
listener
- The listener.async
- True, if the notification should be done on a separate thread.void removeAgentListener(IAgentListener listener)
listener
- The listener.
|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.