Package step.plugins.parametermanager
Class ParameterManagerPlugin
- java.lang.Object
-
- step.core.plugins.AbstractPlugin
-
- step.engine.plugins.AbstractExecutionEnginePlugin
-
- step.plugins.parametermanager.ParameterManagerPlugin
-
- All Implemented Interfaces:
ExecutionCallbacks
,step.core.plugins.OptionalPlugin
,ExecutionEnginePlugin
public class ParameterManagerPlugin extends AbstractExecutionEnginePlugin
-
-
Field Summary
Fields Modifier and Type Field Description protected EncryptionManager
encryptionManager
static org.slf4j.Logger
logger
protected ParameterManager
parameterManager
-
Constructor Summary
Constructors Constructor Description ParameterManagerPlugin(ParameterManager parameterManager, EncryptionManager encryptionManager)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beforeFunctionExecution(ExecutionContext context, ReportNode node, Function function)
void
executionStart(ExecutionContext context)
static void
putVariables(ExecutionContext context, ReportNode rootNode, Map<String,? extends Object> parameters, VariableType type)
-
Methods inherited from class step.engine.plugins.AbstractExecutionEnginePlugin
afterExecutionEnd, afterFunctionExecution, afterReportNodeExecution, afterReportNodeExecution, afterReportNodeSkeletonCreation, afterReportNodeSkeletonCreation, associateThread, associateThread, beforeExecutionEnd, beforePlanImport, beforeReportNodeExecution, beforeReportNodeExecution, initializeExecutionContext, initializeExecutionEngineContext, rollbackReportNode, rollbackReportNode, unassociateThread
-
-
-
-
Field Detail
-
logger
public static org.slf4j.Logger logger
-
parameterManager
protected final ParameterManager parameterManager
-
encryptionManager
protected final EncryptionManager encryptionManager
-
-
Constructor Detail
-
ParameterManagerPlugin
public ParameterManagerPlugin(ParameterManager parameterManager, EncryptionManager encryptionManager)
-
-
Method Detail
-
executionStart
public void executionStart(ExecutionContext context)
- Specified by:
executionStart
in interfaceExecutionCallbacks
- Overrides:
executionStart
in classAbstractExecutionEnginePlugin
-
beforeFunctionExecution
public void beforeFunctionExecution(ExecutionContext context, ReportNode node, Function function)
Description copied from interface:ExecutionCallbacks
This hook is called before aFunction
is executed in CallFunctionHandler just after theFunction
has been resolved The hook is also called in simulation mode- Specified by:
beforeFunctionExecution
in interfaceExecutionCallbacks
- Overrides:
beforeFunctionExecution
in classAbstractExecutionEnginePlugin
- Parameters:
context
- theExecutionContext
function
- the resolvedFunction
that will be executed
-
putVariables
public static void putVariables(ExecutionContext context, ReportNode rootNode, Map<String,? extends Object> parameters, VariableType type)
-
-