Interface ISnapshotDecorator
-
- All Known Implementing Classes:
CFPlugin,JavaPlugin,MyPlugin,OtelPlugin
public interface ISnapshotDecoratorThis type allows a plugin to provide additional attributes to captured snapshots.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Resourcedecorate(ISettings settings, ISnapshotContext snapshot)This method is called by Deep after a snapshot is created.
-
-
-
Method Detail
-
decorate
Resource decorate(ISettings settings, ISnapshotContext snapshot)
This method is called by Deep after a snapshot is created.This method is executed inline with the tracepoint code.
- Parameters:
settings- the current settings of Deepsnapshot- theISnapshotContextdescribing the snapshot- Returns:
- a new
Resourceto be added to the snapshot, ornullto do nothing
-
-