IAgentOutput
public class FileOutput extends java.lang.Object implements IAgentOutput
Constructor | Description |
---|---|
FileOutput() |
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.
|
public final void startup(AgentOptions options, RuntimeData data) throws java.io.IOException
IAgentOutput
startup
in interface IAgentOutput
options
- Options used to configure the agent controllerdata
- Execution data for this agentjava.io.IOException
public void writeExecutionData(boolean reset) throws java.io.IOException
IAgentOutput
writeExecutionData
in interface IAgentOutput
reset
- if true
execution data is cleared afterwardsjava.io.IOException
- in case writing failspublic void shutdown() throws java.io.IOException
IAgentOutput
shutdown
in interface IAgentOutput
java.io.IOException
Copyright © 2018. All rights reserved.