|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jacoco.core.runtime.AbstractRuntime
public abstract class AbstractRuntime
Base IRuntime
implementation.
Field Summary | |
---|---|
protected org.jacoco.core.runtime.ExecutionDataAccess |
access
access for this runtime instance |
protected ExecutionDataStore |
store
store for execution data |
Constructor Summary | |
---|---|
protected |
AbstractRuntime()
Creates a new 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jacoco.core.runtime.IRuntime |
---|
shutdown, startup |
Methods inherited from interface org.jacoco.core.runtime.IExecutionDataAccessorGenerator |
---|
generateDataAccessor |
Field Detail |
---|
protected final ExecutionDataStore store
protected final org.jacoco.core.runtime.ExecutionDataAccess access
Constructor Detail |
---|
protected AbstractRuntime()
Method Detail |
---|
public final void collect(IExecutionDataVisitor visitor, boolean reset)
IRuntime
IExecutionDataVisitor
object. This method must only be called
between IRuntime.startup()
and IRuntime.shutdown()
.
collect
in interface IRuntime
visitor
- handler to write coverage data toreset
- if true
the current coverage information is also
clearedpublic final void reset()
IRuntime
IRuntime.startup()
and IRuntime.shutdown()
.
reset
in interface IRuntime
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |