Class AiGraphAgentConsoleLauncher

java.lang.Object
com.aispect.engine.se.AiGraphAgentConsoleLauncher

public class AiGraphAgentConsoleLauncher extends Object
against Java SE console project Graph Agent launcher.
  • Constructor Details

    • AiGraphAgentConsoleLauncher

      public AiGraphAgentConsoleLauncher(AiOperations aiOperations)
  • Method Details

    • execute

      public <T> Object execute(Class<T> graphAgentClass, Object initialTopic) throws Exception
      Execute the specified Graph Agent kind
      Type Parameters:
      T - class generic
      Parameters:
      graphAgentClass - quilt @AiGraphAgent Annotated class
      initialTopic - initial parameters or context
      Returns:
      The result after performing graph processing
      Throws:
      Exception - When execution or reflection call fails