Object AgentInvocation.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • create

         final static <T extends Any> AgentInvocation<T> create(AgentPlatform agentPlatform, Class<T> resultType)

        Create a new AgentInvocation for the given platform and explicit result type.

        Parameters:
        agentPlatform - the platform in which this agent will run
        resultType - the Java Class of the type of result the agent will return
        Returns:

        a configured AgentInvocation that produces values of type T

      • create

         final <T extends Any> AgentInvocation<T> create(AgentPlatform agentPlatform)

        Create a new AgentInvocation for the given platform, inferring the result type from the reified type parameter.

        Parameters:
        agentPlatform - the platform or environment in which this agent will run
        Returns:

        a configured AgentInvocation that produces values of type T

      • builder

         final static AgentInvocation.Builder builder(AgentPlatform agentPlatform)

        Obtain a new Builder to customize agent settings before building.

        Parameters:
        agentPlatform - the platform or environment in which this agent will run
        Returns:

        a builder through which you can set processing options