Interface IAgentOutput

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void shutdown()
      Shutdown the agent controller and clean up any resources it has created.
      void startup​(AgentOptions options, RuntimeData data)
      Configure the agent controller with the supplied options and connect it to the coverage runtime
      void writeExecutionData​(boolean reset)
      Write all execution data in the runtime to a location determined by the agent controller.
    • Method Detail

      • startup

        void startup​(AgentOptions options,
                     RuntimeData data)
              throws java.lang.Exception
        Configure the agent controller with the supplied options and connect it to the coverage runtime
        Parameters:
        options - Options used to configure the agent controller
        data - Execution data for this agent
        Throws:
        java.lang.Exception - in case startup fails
      • shutdown

        void shutdown()
               throws java.lang.Exception
        Shutdown the agent controller and clean up any resources it has created.
        Throws:
        java.lang.Exception - in case shutdown fails
      • writeExecutionData

        void writeExecutionData​(boolean reset)
                         throws java.io.IOException
        Write all execution data in the runtime to a location determined by the agent controller. This method should only be called by the Agent
        Parameters:
        reset - if true execution data is cleared afterwards
        Throws:
        java.io.IOException - in case writing fails