Class NoneOutput
- java.lang.Object
-
- org.jacoco.agent.rt.internal.output.NoneOutput
-
- All Implemented Interfaces:
IAgentOutput
public class NoneOutput extends java.lang.Object implements IAgentOutput
Output that does nothing.
-
-
Constructor Summary
Constructors Constructor Description NoneOutput()
-
Method Summary
All Methods Instance Methods Concrete 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 runtimevoid
writeExecutionData(boolean reset)
Write all execution data in the runtime to a location determined by the agent controller.
-
-
-
Method Detail
-
startup
public final void startup(AgentOptions options, RuntimeData data)
Description copied from interface:IAgentOutput
Configure the agent controller with the supplied options and connect it to the coverage runtime- Specified by:
startup
in interfaceIAgentOutput
- Parameters:
options
- Options used to configure the agent controllerdata
- Execution data for this agent
-
writeExecutionData
public void writeExecutionData(boolean reset)
Description copied from interface:IAgentOutput
Write all execution data in the runtime to a location determined by the agent controller. This method should only be called by the Agent- Specified by:
writeExecutionData
in interfaceIAgentOutput
- Parameters:
reset
- iftrue
execution data is cleared afterwards
-
shutdown
public void shutdown()
Description copied from interface:IAgentOutput
Shutdown the agent controller and clean up any resources it has created.- Specified by:
shutdown
in interfaceIAgentOutput
-
-