Package org.jacoco.core.runtime
Class AbstractRuntime
java.lang.Object
org.jacoco.core.runtime.AbstractRuntime
- All Implemented Interfaces:
IExecutionDataAccessorGenerator
,IRuntime
- Direct Known Subclasses:
InjectedClassRuntime
,LoggerRuntime
,ModifiedSystemClassRuntime
,SystemPropertiesRuntime
Base
IRuntime
implementation.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected RuntimeData
access to the runtime dataprivate static final Random
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Creates a random session identifier.void
startup
(RuntimeData data) Subclasses must call this method when overwriting it.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.IExecutionDataAccessorGenerator
generateDataAccessor
-
Field Details
-
data
access to the runtime data -
RANDOM
-
-
Constructor Details
-
AbstractRuntime
public AbstractRuntime()
-
-
Method Details
-
startup
Subclasses must call this method when overwriting it. -
createRandomId
Creates a random session identifier.- Returns:
- random session identifier
-