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 Resourcedecorate(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:ISnapshotDecoratorThis method is called by Deep after a snapshot is created.This method is executed inline with the tracepoint code.
- Specified by:
decoratein interfaceISnapshotDecorator- Parameters:
settings- the current settings of Deepsnapshot- theISnapshotContextdescribing the snapshot- Returns:
- a new
Resourceto be added to the snapshot, ornullto do nothing
-
-