Package com.intergral.deep.examples
Class MyPlugin
- java.lang.Object
-
- com.intergral.deep.examples.MyPlugin
-
- All Implemented Interfaces:
ISnapshotDecorator
,IDeepPlugin
,Ordered
public class MyPlugin extends Object implements IDeepPlugin, ISnapshotDecorator
This is an example plugin.
-
-
Constructor Summary
Constructors Constructor Description MyPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Resource
decorate(ISettings settings, ISnapshotContext snapshot)
This method is called by Deep after a snapshot is created.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.intergral.deep.agent.api.spi.IDeepPlugin
configure
-
-
-
-
Method Detail
-
decorate
public Resource decorate(ISettings settings, ISnapshotContext snapshot)
Description copied from interface:ISnapshotDecorator
This method is called by Deep after a snapshot is created.This method is executed inline with the tracepoint code.
- Specified by:
decorate
in interfaceISnapshotDecorator
- 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
-
-