Package step.artefacts.handlers
Class CallFunctionHandler
- java.lang.Object
-
- step.core.artefacts.handlers.ArtefactHandler<CallFunction,CallFunctionReportNode>
-
- step.artefacts.handlers.CallFunctionHandler
-
public class CallFunctionHandler extends ArtefactHandler<CallFunction,CallFunctionReportNode>
-
-
Field Summary
Fields Modifier and Type Field Description protected DynamicJsonObjectResolverdynamicJsonObjectResolverprotected FunctionAccessorfunctionAccessorprotected FunctionExecutionServicefunctionExecutionServiceprotected FunctionLocatorfunctionLocatorprotected ReportNodeAttachmentManagerreportNodeAttachmentManager-
Fields inherited from class step.core.artefacts.handlers.ArtefactHandler
context, FILE_VARIABLE_PREFIX, FORCE_PERSIST_BEFORE, logger, TEC_EXECUTION_REPORTNODES_PERSISTAFTER, TEC_EXECUTION_REPORTNODES_PERSISTBEFORE, TEC_EXECUTION_REPORTNODES_PERSISTONLYNONPASSED
-
-
Constructor Summary
Constructors Constructor Description CallFunctionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcallChildrenArtefacts(CallFunctionReportNode node, CallFunction testArtefact)CallFunctionReportNodecreateReportNode_(ReportNode parentNode, CallFunction testArtefact)Creates theReportNodecorresponding to the provided artefactprotected voidcreateReportSkeleton_(CallFunctionReportNode parentNode, CallFunction testArtefact)protected voidexecute_(CallFunctionReportNode node, CallFunction testArtefact)Execute the provided artefact and report the execution to the provided report nodevoidinit(ExecutionContext context)-
Methods inherited from class step.core.artefacts.handlers.ArtefactHandler
createReportSkeleton, createWorkArtefact, createWorkArtefact, createWorkArtefact, delegateCreateReportSkeleton, delegateCreateReportSkeleton, delegateExecute, delegateExecute, excludePropertyChildren, execute, fail, failWithException, failWithException, failWithException, filterPropertyChildren, getBindings, getChildren, getChildren, initProperties, isInSession, releaseTokens, removeReportNode
-
-
-
-
Field Detail
-
functionExecutionService
protected FunctionExecutionService functionExecutionService
-
functionAccessor
protected FunctionAccessor functionAccessor
-
reportNodeAttachmentManager
protected ReportNodeAttachmentManager reportNodeAttachmentManager
-
dynamicJsonObjectResolver
protected DynamicJsonObjectResolver dynamicJsonObjectResolver
-
functionLocator
protected FunctionLocator functionLocator
-
-
Method Detail
-
init
public void init(ExecutionContext context)
- Overrides:
initin classArtefactHandler<CallFunction,CallFunctionReportNode>
-
createReportSkeleton_
protected void createReportSkeleton_(CallFunctionReportNode parentNode, CallFunction testArtefact)
- Specified by:
createReportSkeleton_in classArtefactHandler<CallFunction,CallFunctionReportNode>
-
execute_
protected void execute_(CallFunctionReportNode node, CallFunction testArtefact) throws Exception
Description copied from class:ArtefactHandlerExecute the provided artefact and report the execution to the provided report node- Specified by:
execute_in classArtefactHandler<CallFunction,CallFunctionReportNode>- Parameters:
node- theReportNodecorresponding to the artefacttestArtefact- theAbstractArtefactto be executed- Throws:
Exception
-
callChildrenArtefacts
protected void callChildrenArtefacts(CallFunctionReportNode node, CallFunction testArtefact)
-
createReportNode_
public CallFunctionReportNode createReportNode_(ReportNode parentNode, CallFunction testArtefact)
Description copied from class:ArtefactHandlerCreates theReportNodecorresponding to the provided artefact- Specified by:
createReportNode_in classArtefactHandler<CallFunction,CallFunctionReportNode>- Parameters:
parentNode- the parentReportNodetestArtefact- the artefact to create the node for- Returns:
-
-