public interface ScriptingPluginInfo<T>
Each scenario gets its own instance of an object from this SandboxPlugin
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseVariableName() |
String |
getDescription() |
T |
getExtensionObject(org.slf4j.Logger logger,
com.codahale.metrics.MetricRegistry metricRegistry,
ScriptContext scriptContext) |
default boolean |
isAutoLoading()
If auto loading is true, then the extension will be injected into every
scenario sandbox.
|
String getDescription()
T getExtensionObject(org.slf4j.Logger logger, com.codahale.metrics.MetricRegistry metricRegistry, ScriptContext scriptContext)
logger - A logger named for the extension, in case the extension wants to log internallymetricRegistry - The main metric registry, in case the extension wants to track metrics internallyscriptContext - The scripting context object, useful for interacting with the sandbox directlyString getBaseVariableName()
default boolean isAutoLoading()
Copyright © 2017. All rights reserved.