Package step.engine.plugins
Class AbstractExecutionEnginePlugin
- java.lang.Object
-
- step.core.plugins.AbstractPlugin
-
- step.engine.plugins.AbstractExecutionEnginePlugin
-
- All Implemented Interfaces:
ExecutionCallbacks
,OptionalPlugin
,ExecutionEnginePlugin
- Direct Known Subclasses:
BaseArtefactPlugin
,BasePlugin
,CompositeFunctionTypePlugin
,FunctionPlugin
,GeneralScriptFunctionPlugin
,LocalFunctionPlugin
,LocalRepositoryPlugin
,MeasurementPlugin
,ParameterManagerPlugin
,QuotaManagerPlugin
,ThreadManagerPlugin
,ThreadPoolPlugin
,ViewPlugin
public abstract class AbstractExecutionEnginePlugin extends AbstractPlugin implements ExecutionEnginePlugin
-
-
Constructor Summary
Constructors Constructor Description AbstractExecutionEnginePlugin()
-
Method Summary
-
Methods inherited from class step.core.plugins.AbstractPlugin
toString, validate
-
-
-
-
Method Detail
-
initializeExecutionEngineContext
public void initializeExecutionEngineContext(AbstractExecutionEngineContext parentContext, ExecutionEngineContext executionEngineContext)
- Specified by:
initializeExecutionEngineContext
in interfaceExecutionEnginePlugin
-
initializeExecutionContext
public void initializeExecutionContext(ExecutionEngineContext executionEngineContext, ExecutionContext executionContext)
- Specified by:
initializeExecutionContext
in interfaceExecutionEnginePlugin
-
executionStart
public void executionStart(ExecutionContext context)
- Specified by:
executionStart
in interfaceExecutionCallbacks
-
beforeExecutionEnd
public void beforeExecutionEnd(ExecutionContext context)
- Specified by:
beforeExecutionEnd
in interfaceExecutionCallbacks
-
afterExecutionEnd
public void afterExecutionEnd(ExecutionContext context)
- Specified by:
afterExecutionEnd
in interfaceExecutionCallbacks
-
afterReportNodeSkeletonCreation
@Deprecated public void afterReportNodeSkeletonCreation(ReportNode node)
Deprecated.
-
beforeReportNodeExecution
@Deprecated public void beforeReportNodeExecution(ReportNode node)
Deprecated.
-
afterReportNodeExecution
@Deprecated public void afterReportNodeExecution(ReportNode node)
Deprecated.
-
rollbackReportNode
@Deprecated public void rollbackReportNode(ReportNode node)
Deprecated.
-
afterReportNodeSkeletonCreation
public void afterReportNodeSkeletonCreation(ExecutionContext context, ReportNode node)
- Specified by:
afterReportNodeSkeletonCreation
in interfaceExecutionCallbacks
-
beforeReportNodeExecution
public void beforeReportNodeExecution(ExecutionContext context, ReportNode node)
- Specified by:
beforeReportNodeExecution
in interfaceExecutionCallbacks
-
afterReportNodeExecution
public void afterReportNodeExecution(ExecutionContext context, ReportNode node)
- Specified by:
afterReportNodeExecution
in interfaceExecutionCallbacks
-
rollbackReportNode
public void rollbackReportNode(ExecutionContext context, ReportNode node)
- Specified by:
rollbackReportNode
in interfaceExecutionCallbacks
-
associateThread
public void associateThread(ExecutionContext context, java.lang.Thread thread)
- Specified by:
associateThread
in interfaceExecutionCallbacks
-
associateThread
public void associateThread(ExecutionContext context, java.lang.Thread thread, long parentThreadId)
- Specified by:
associateThread
in interfaceExecutionCallbacks
-
unassociateThread
public void unassociateThread(ExecutionContext context, java.lang.Thread thread)
- Specified by:
unassociateThread
in interfaceExecutionCallbacks
-
beforePlanImport
public void beforePlanImport(ExecutionContext context)
- Specified by:
beforePlanImport
in interfaceExecutionCallbacks
-
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
- Parameters:
context
- theExecutionContext
function
- the resolvedFunction
that will be executed
-
afterFunctionExecution
public void afterFunctionExecution(ExecutionContext context, ReportNode node, Function function, step.functions.io.Output<javax.json.JsonObject> output)
Description copied from interface:ExecutionCallbacks
This hook is called immediately after aFunction
is executed in CallFunctionHandler. TheReportNode
provided as argument is therefore not reflecting the final status. If you need the final status after CallFunction execution use the hookExecutionCallbacks.afterReportNodeExecution(ExecutionContext, ReportNode)
instead. The hook is also called in simulation mode.- Specified by:
afterFunctionExecution
in interfaceExecutionCallbacks
- Parameters:
context
- theExecutionContext
function
- theFunction
that has been executedoutput
- the resultOutput
of the execution
-
-