Interface ISnapshotDecorator
-
- All Known Implementing Classes:
CFPlugin
,JavaPlugin
,MyPlugin
,OtelPlugin
public interface ISnapshotDecorator
This type allows a plugin to provide additional attributes to captured snapshots.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Resource
decorate(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
- theISnapshotContext
describing the snapshot- Returns:
- a new
Resource
to be added to the snapshot, ornull
to do nothing
-
-