Class Subagent

  • All Implemented Interfaces:

    
    public final class Subagent
    
                        

    Define a handoff to a subagent.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Class<?> inputClass
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Class<?> getInputClass()
      final Agent resolve(AgentPlatform agentPlatform)
      • Methods inherited from class java.lang.Object

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

      • Subagent

        Subagent(Agent agent, Class<?> inputClass)
        Subagent that is an agent
        Parameters:
        agent - the subagent to hand off to
        inputClass - the class of the input that the subagent expects
      • Subagent

        Subagent(String agentName, Class<?> inputClass)
      • Subagent

        Subagent(Class<?> agentType, Class<?> inputClass)
        Reference to an annotated agent class.