Package step.core.plugins
Interface ExecutionCallbacks
-
- All Known Subinterfaces:
ExecutionEnginePlugin
- All Known Implementing Classes:
AbstractExecutionEnginePlugin
,BaseArtefactPlugin
,BasePlugin
,CompositeFunctionTypePlugin
,FunctionPlugin
,GeneralScriptFunctionPlugin
,LocalFunctionPlugin
,LocalRepositoryPlugin
,MeasurementPlugin
,ParameterManagerPlugin
,QuotaManagerPlugin
,ThreadManagerPlugin
,ThreadPoolPlugin
,ViewPlugin
public interface ExecutionCallbacks
-
-
Method Summary
-
-
-
Method Detail
-
beforeFunctionExecution
void beforeFunctionExecution(ExecutionContext context, ReportNode node, Function function)
This hook is called before aFunction
is executed in CallFunctionHandler just after theFunction
has been resolved The hook is also called in simulation mode- Parameters:
context
- theExecutionContext
function
- the resolvedFunction
that will be executed
-
afterFunctionExecution
void afterFunctionExecution(ExecutionContext context, ReportNode node, Function function, step.functions.io.Output<javax.json.JsonObject> output)
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 hookafterReportNodeExecution(ExecutionContext, ReportNode)
instead. The hook is also called in simulation mode.- Parameters:
context
- theExecutionContext
node
-function
- theFunction
that has been executedoutput
- the resultOutput
of the execution
-
afterReportNodeSkeletonCreation
void afterReportNodeSkeletonCreation(ExecutionContext context, ReportNode node)
-
beforeReportNodeExecution
void beforeReportNodeExecution(ExecutionContext context, ReportNode node)
-
afterReportNodeExecution
void afterReportNodeExecution(ExecutionContext context, ReportNode node)
-
rollbackReportNode
void rollbackReportNode(ExecutionContext context, ReportNode node)
-
associateThread
void associateThread(ExecutionContext context, java.lang.Thread thread)
-
associateThread
void associateThread(ExecutionContext context, java.lang.Thread thread, long parentThreadId)
-
unassociateThread
void unassociateThread(ExecutionContext context, java.lang.Thread thread)
-
beforePlanImport
void beforePlanImport(ExecutionContext context)
-
executionStart
void executionStart(ExecutionContext context)
-
beforeExecutionEnd
void beforeExecutionEnd(ExecutionContext context)
-
afterExecutionEnd
void afterExecutionEnd(ExecutionContext context)
-
-