Class NoneOutput
java.lang.Object
org.jacoco.agent.rt.internal.output.NoneOutput
- All Implemented Interfaces:
IAgentOutput
Output that does nothing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidshutdown()Shutdown the agent controller and clean up any resources it has created.final voidstartup(AgentOptions options, RuntimeData data) Configure the agent controller with the supplied options and connect it to the coverage runtimevoidwriteExecutionData(boolean reset) Write all execution data in the runtime to a location determined by the agent controller.
-
Constructor Details
-
NoneOutput
public NoneOutput()
-
-
Method Details
-
startup
Description copied from interface:IAgentOutputConfigure the agent controller with the supplied options and connect it to the coverage runtime- Specified by:
startupin 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:IAgentOutputWrite 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:
writeExecutionDatain interfaceIAgentOutput- Parameters:
reset- iftrueexecution data is cleared afterwards
-
shutdown
public void shutdown()Description copied from interface:IAgentOutputShutdown the agent controller and clean up any resources it has created.- Specified by:
shutdownin interfaceIAgentOutput
-