Interface ScopedInvocation

  • All Implemented Interfaces:
    com.embabel.agent.api.invocation.BaseInvocation

    
    public interface ScopedInvocation<THIS extends ScopedInvocation<THIS>>
     implements BaseInvocation<THIS>
                        

    Invocation with a defined scope of actions and goals. Scoped invocations create agents from the provided scope.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • 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
      abstract THIS withScope(AgentScopeBuilder agentScopeBuilder) Set the scope of actions and goals.
      abstract THIS withAgentName(String name) Set a custom name for the created agent.
      • Methods inherited from class com.embabel.agent.api.invocation.BaseInvocation

        run, run, runAsync, runAsync, withProcessOptions
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • withAgentName

         abstract THIS withAgentName(String name)

        Set a custom name for the created agent. If not set, a default name based on the platform will be used.