Class EglFineGrainedTraceContextAdaptor
java.lang.Object
org.eclipse.epsilon.egl.engine.traceability.fine.EglFineGrainedTraceContextAdaptor
The entry point to the EGL fine-grained traceability functionality. This adaptor can
be used to non-destructively enhance an EglModule with execution listeners that build
a trace model when the module is executed.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadapt
(IEglContext context) Prepares to build a trace model for the specified context, returning an empty trace.protected void
listenForTemplateExecution
(IEglContext context, Trace trace, TracedPropertyAccessLedger ledger) protected void
selectivelyRecordPropertyAccesses
(IEglContext context, TracedPropertyAccessLedger ledger)
-
Constructor Details
-
EglFineGrainedTraceContextAdaptor
public EglFineGrainedTraceContextAdaptor()
-
-
Method Details
-
adapt
Prepares to build a trace model for the specified context, returning an empty trace. Subsequent execution of the module attached to this context will cause the trace to be populated. -
listenForTemplateExecution
protected void listenForTemplateExecution(IEglContext context, Trace trace, TracedPropertyAccessLedger ledger) -
selectivelyRecordPropertyAccesses
protected void selectivelyRecordPropertyAccesses(IEglContext context, TracedPropertyAccessLedger ledger)
-