public interface IRuntime extends IExecutionDataAccessorGenerator
| Modifier and Type | Method and Description |
|---|---|
void |
collect(IExecutionDataVisitor executionDataVisitor,
ISessionInfoVisitor sessionInfoVisitor,
boolean reset)
Collects the current execution data and writes it to the given
IExecutionDataVisitor object. |
void |
disconnect(Class<?> type)
Clears the execution data buffered in the given instrumented type.
|
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.
|
generateDataAccessorvoid 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().void disconnect(Class<?> type) throws Exception
type - class to clearException - if clearing the data is not possibleCopyright © 2009-2012 Mountainminds GmbH & Co. KG. All Rights Reserved.