Package com.intergral.deep.plugin.cf
Class CFPlugin
- java.lang.Object
-
- com.intergral.deep.plugin.cf.CFPlugin
-
- All Implemented Interfaces:
ISnapshotDecorator
,IConditional
,IDeepPlugin
,Ordered
public class CFPlugin extends Object implements IDeepPlugin, IConditional, ISnapshotDecorator
This plugin is activated when we are running on an adobe CF server.This plugin will attach the cf version and the cf app name to the captured snapshots.
-
-
Constructor Summary
Constructors Constructor Description CFPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Resource
decorate(ISettings settings, ISnapshotContext context)
This method is called by Deep after a snapshot is created.boolean
isActive()
Should determine if the plugin is active.-
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 context)
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 Deepcontext
- theISnapshotContext
describing the snapshot- Returns:
- a new
Resource
to be added to the snapshot, ornull
to do nothing
-
isActive
public boolean isActive()
Description copied from interface:IConditional
Should determine if the plugin is active.- Specified by:
isActive
in interfaceIConditional
- Returns:
true
if and only if the plugins is active, elsefalse
-
-