Agent
public interface IAgent
Modifier and Type | Method | Description |
---|---|---|
void |
dump(boolean reset) |
Triggers a dump of the current execution data through the configured
output.
|
byte[] |
getExecutionData(boolean reset) |
Returns current execution data.
|
java.lang.String |
getSessionId() |
Returns current a session identifier.
|
java.lang.String |
getVersion() |
Returns version of JaCoCo.
|
void |
reset() |
Resets all coverage information.
|
void |
setSessionId(java.lang.String id) |
Sets a session identifier.
|
java.lang.String getVersion()
java.lang.String getSessionId()
void setSessionId(java.lang.String id)
id
- new session identifiervoid reset()
byte[] getExecutionData(boolean reset)
reset
- if true
the current execution data is cleared
afterwardsvoid dump(boolean reset) throws java.io.IOException
reset
- if true
the current execution data is cleared
afterwardsjava.io.IOException
- if the output can't write execution dataCopyright © 2018. All rights reserved.