|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRuntime
This interface represents a particular mechanism to collect execution information in the target VM at runtime.
Method Summary | |
---|---|
void |
collect(IExecutionDataVisitor executionDataVisitor,
ISessionInfoVisitor sessionInfoVisitor,
boolean reset)
Collects the current execution data and writes it to the given IExecutionDataVisitor object. |
String |
getSessionId()
Get the current a session identifier for this runtime. |
void |
reset()
Resets all coverage information. |
void |
setSessionId(String id)
Sets a session identifier for this runtime. |
void |
shutdown()
Allows the coverage runtime to cleanup internals. |
void |
startup()
Starts the coverage runtime. |
Methods inherited from interface org.jacoco.core.runtime.IExecutionDataAccessorGenerator |
---|
generateDataAccessor |
Method Detail |
---|
void setSessionId(String id)
id
- new session identifiercollect(IExecutionDataVisitor, ISessionInfoVisitor, boolean)
String getSessionId()
setSessionId(String)
void startup() throws Exception
Exception
- any internal problem during startupvoid shutdown()
void collect(IExecutionDataVisitor executionDataVisitor, ISessionInfoVisitor sessionInfoVisitor, boolean reset)
IExecutionDataVisitor
object. This method must only be called
between startup()
and shutdown()
.
executionDataVisitor
- handler to write coverage data tosessionInfoVisitor
- optional visitor to write session information to or
null
if session information is not requiredreset
- if true
the current coverage information is also
clearedvoid reset()
startup()
and shutdown()
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |