Interface AgentScope

  • All Implemented Interfaces:
    com.embabel.agent.api.common.scope.AgentScopeBuilder , com.embabel.agent.core.ActionSource , com.embabel.agent.core.ConditionSource , com.embabel.agent.core.DataDictionary , com.embabel.agent.core.GoalSource , com.embabel.common.core.types.Described , com.embabel.common.core.types.HasInfoString , com.embabel.common.core.types.Named

    
    public interface AgentScope
     implements Named, Described, GoalSource, ConditionSource, ActionSource, DataDictionary, HasInfoString, AgentScopeBuilder
                        

    Defines the scope of an agent or agents: Goals, conditions and actions. Both Agents and AgentPlatforms are AgentScopes.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class AgentScope.Companion
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String infoString(Boolean verbose, Integer indent)
      Agent createAgent(String name, String provider, String description) Create a new agent from the given scope
      DomainType resolveType(String name)
      AgentScope createAgentScope() Emit an AgentScope
      abstract Boolean getOpaque() Whether to hide the agent's actions and conditions from the outside world, defaults to false.
      StuckHandler getStuckHandler()
      Collection<DomainType> getDomainTypes() All known types referenced by this component.
      • Methods inherited from class com.embabel.agent.core.DataDictionary

        allowedRelationships, domainTypeForLabels, excluding, excluding, filter, getDynamicTypes, getJvmTypes, minus, minus, plus
      • Methods inherited from class com.embabel.common.core.types.Named

        getName
      • Methods inherited from class com.embabel.common.core.types.Described

        getDescription
      • Methods inherited from class com.embabel.agent.core.GoalSource

        getGoals
      • Methods inherited from class com.embabel.agent.core.ConditionSource

        getConditions
      • Methods inherited from class com.embabel.agent.core.ActionSource

        getActions
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait