Package jadex.bdiv3x.runtime
Interface ICapability
-
- All Known Subinterfaces:
IBDIXAgentFeature
- All Known Implementing Classes:
BDIXAgentFeature
,CapabilityWrapper
public interface ICapability
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IModelInfo
getAgentModel()
Get the agent model.java.lang.String
getAgentName()
Get the agent name.IBeliefbase
getBeliefbase()
Get the belief base.java.lang.ClassLoader
getClassLoader()
Get the classloader.IComponentDescription
getComponentDescription()
Get the component description.IComponentIdentifier
getComponentIdentifier()
Get the agent identifier.java.lang.String
getConfigurationName()
Get the configuration name.IEventbase
getEventbase()
Get the event base.IExpressionbase
getExpressionbase()
Get the expression base.IExternalAccess
getExternalAccess()
Get the scope.IGoalbase
getGoalbase()
Get the goal base.java.util.logging.Logger
getLogger()
Get the logger.IModelInfo
getModel()
Get the capability model.IPlanbase
getPlanbase()
Get the plan base.long
getTime()
Get the current time.IFuture<java.util.Map<java.lang.String,java.lang.Object>>
killAgent()
Kill the agent.ISubscriptionIntermediateFuture<IMonitoringEvent>
subscribeToEvents(IFilter<IMonitoringEvent> filter, boolean initial, IMonitoringService.PublishEventLevel elm)
Subscribe to monitoring events.
-
-
-
Method Detail
-
getExternalAccess
IExternalAccess getExternalAccess()
Get the scope. Method with IExternalAccess return value included for compatibility with IInternalAccess.- Returns:
- The scope.
-
getBeliefbase
IBeliefbase getBeliefbase()
Get the belief base.- Returns:
- The belief base.
-
getGoalbase
IGoalbase getGoalbase()
Get the goal base.- Returns:
- The goal base.
-
getPlanbase
IPlanbase getPlanbase()
Get the plan base.- Returns:
- The plan base.
-
getEventbase
IEventbase getEventbase()
Get the event base.- Returns:
- The event base.
-
getExpressionbase
IExpressionbase getExpressionbase()
Get the expression base.- Returns:
- The expression base.
-
getLogger
java.util.logging.Logger getLogger()
Get the logger.- Returns:
- The logger.
-
getAgentModel
IModelInfo getAgentModel()
Get the agent model.- Returns:
- The agent model.
-
getModel
IModelInfo getModel()
Get the capability model.- Returns:
- The capability model.
-
getAgentName
java.lang.String getAgentName()
Get the agent name.- Returns:
- The agent name.
-
getConfigurationName
java.lang.String getConfigurationName()
Get the configuration name.- Returns:
- The configuration name.
-
getComponentIdentifier
IComponentIdentifier getComponentIdentifier()
Get the agent identifier.- Returns:
- The agent identifier.
-
getComponentDescription
IComponentDescription getComponentDescription()
Get the component description.- Returns:
- The component description.
-
getTime
long getTime()
Get the current time. The time unit depends on the currently running clock implementation. For the default system clock, the time value adheres to the time representation as used bySystem.currentTimeMillis()
, i.e., the value of milliseconds passed since 0:00 'o clock, January 1st, 1970, UTC. For custom simulation clocks, arbitrary representations can be used.- Returns:
- The current time.
-
getClassLoader
java.lang.ClassLoader getClassLoader()
Get the classloader.- Returns:
- The classloader.
-
killAgent
IFuture<java.util.Map<java.lang.String,java.lang.Object>> killAgent()
Kill the agent.
-
subscribeToEvents
ISubscriptionIntermediateFuture<IMonitoringEvent> subscribeToEvents(IFilter<IMonitoringEvent> filter, boolean initial, IMonitoringService.PublishEventLevel elm)
Subscribe to monitoring events.- Parameters:
filter
- An optional filter.
-
-