Class EglFineGrainedTraceContextAdaptor
- java.lang.Object
-
- org.eclipse.epsilon.egl.engine.traceability.fine.EglFineGrainedTraceContextAdaptor
-
public class EglFineGrainedTraceContextAdaptor extends java.lang.Object
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:
Trace
-
-
Constructor Summary
Constructors Constructor Description EglFineGrainedTraceContextAdaptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Trace
adapt(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)
-
-
-
Method Detail
-
adapt
public Trace adapt(IEglContext context)
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)
-
-