Interface IAgent
- All Known Implementing Classes:
Agent
public interface IAgent
Runtime API and MBean agent interface.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddump(boolean reset) Triggers a dump of the current execution data through the configured output.byte[]getExecutionData(boolean reset) Returns current execution data.Returns current a session identifier.Returns version of JaCoCo.voidreset()Resets all coverage information.voidsetSessionId(String id) Sets a session identifier.
-
Method Details
-
getVersion
-
getSessionId
-
setSessionId
-
reset
void reset()Resets all coverage information. -
getExecutionData
byte[] getExecutionData(boolean reset) Returns current execution data.- Parameters:
reset- iftruethe current execution data is cleared afterwards- Returns:
- dump of current execution data in JaCoCo binary format
-
dump
Triggers a dump of the current execution data through the configured output.- Parameters:
reset- iftruethe current execution data is cleared afterwards- Throws:
IOException- if the output can't write execution data
-