Jadex 0.941

jadex.runtime
Interface ICapability

All Superinterfaces:
IElement
All Known Subinterfaces:
IExternalAccess

public interface ICapability
extends IElement

A capability is a self-contained agent module as specified in an agent definition file (ADF).


Method Summary
 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 removeSubcapability(String name)
          Deprecated.  
 
Methods inherited from interface jadex.runtime.IElement
getModelElement, getName
 

Method Detail

getExternalAccess

public IExternalAccess getExternalAccess()
Get the scope.

Returns:
The scope.

getBeliefbase

public IBeliefbase getBeliefbase()
Get the belief base.

Returns:
The belief base.

getGoalbase

public IGoalbase getGoalbase()
Get the goal base.

Returns:
The goal base.

getPlanbase

public IPlanbase getPlanbase()
Get the plan base.

Returns:
The plan base.

getEventbase

public IEventbase getEventbase()
Get the event base.

Returns:
The event base.

getExpressionbase

public IExpressionbase getExpressionbase()
Get the expression base.

Returns:
The expression base.

getPropertybase

public IPropertybase getPropertybase()
Get the property base.

Returns:
The property base.

addSubcapability

public void addSubcapability(String name,
                             String capafile)
Deprecated.  

Add a new subcapability.

Parameters:
name - The name to give to the new capability.
capafile - The capability identifier or filename.

removeSubcapability

public void removeSubcapability(String name)
Deprecated.  

Remove a subcapability.

Parameters:
name - The subcapability name.

registerSubcapability

public void registerSubcapability(IMCapabilityReference subcap)
Register a subcapability.

Parameters:
subcap - The subcapability.

deregisterSubcapability

public void deregisterSubcapability(IMCapabilityReference subcap)
Deregister a subcapability.

Parameters:
subcap - The subcapability.

getLogger

public Logger getLogger()
Get the logger.

Returns:
The logger.

getAgentName

public String getAgentName()
Get the agent name.

Returns:
The agent name.

getInitialStateName

public String getInitialStateName()
Get the initial state name.

Returns:
The initial state name.

getAgentIdentifier

public BasicAgentIdentifier getAgentIdentifier()
Get the agent identifier.

Returns:
The agent identifier.

getPlatformAgent

public Object getPlatformAgent()
Get the platform agent.

Returns:
The platform agent.

getPlatformType

public String getPlatformType()
Get the platform type.

Returns:
The platform type.

killAgent

public void killAgent()
Kill the agent.


Jadex 0.941

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.