Class EglFineGrainedTraceContextAdaptor

java.lang.Object
org.eclipse.epsilon.egl.engine.traceability.fine.EglFineGrainedTraceContextAdaptor

public class EglFineGrainedTraceContextAdaptor extends 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:
  • Constructor Details

    • EglFineGrainedTraceContextAdaptor

      public EglFineGrainedTraceContextAdaptor()
  • Method Details

    • 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)