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 Resourcedecorate(ISettings settings, ISnapshotContext context)This method is called by Deep after a snapshot is created.booleanisActive()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: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 Deepcontext- theISnapshotContextdescribing the snapshot- Returns:
- a new
Resourceto be added to the snapshot, ornullto do nothing
-
isActive
public boolean isActive()
Description copied from interface:IConditionalShould determine if the plugin is active.- Specified by:
isActivein interfaceIConditional- Returns:
trueif and only if the plugins is active, elsefalse
-
-