|
|||||||||
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 visitor,
boolean reset)
Collects the current execution data and writes it to the given IExecutionDataVisitor object. |
void |
reset()
Resets all coverage information. |
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 startup() throws Exception
Exception
- any internal problem during startupvoid shutdown()
void collect(IExecutionDataVisitor visitor, boolean reset)
IExecutionDataVisitor
object. This method must only be called
between startup()
and shutdown()
.
visitor
- handler to write coverage data toreset
- 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 |