Package step.artefacts.handlers
Class CallFunctionHandler
java.lang.Object
step.core.artefacts.handlers.ArtefactHandler<CallFunction,CallFunctionReportNode>
step.artefacts.handlers.CallFunctionHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DynamicJsonObjectResolver
protected FunctionAccessor
protected FunctionExecutionService
protected FunctionLocator
protected ReportNodeAttachmentManager
protected boolean
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected void
callChildrenArtefacts
(CallFunctionReportNode node, CallFunction testArtefact) createReportNode_
(ReportNode parentNode, CallFunction testArtefact) Creates theReportNode
corresponding to the provided artefactprotected void
createReportSkeleton_
(CallFunctionReportNode parentNode, CallFunction testArtefact) protected void
execute_
(CallFunctionReportNode node, CallFunction testArtefact) Execute the provided artefact and report the execution to the provided report nodevoid
init
(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, pruneReportBranch, releaseTokens, removeErrorContributionsInReportBranch
-
Field Details
-
functionExecutionService
-
functionAccessor
-
reportNodeAttachmentManager
-
dynamicJsonObjectResolver
-
functionLocator
-
useLegacyOutput
protected boolean useLegacyOutput
-
-
Constructor Details
-
CallFunctionHandler
public CallFunctionHandler()
-
-
Method Details
-
init
- Overrides:
init
in classArtefactHandler<CallFunction,
CallFunctionReportNode>
-
createReportSkeleton_
- Specified by:
createReportSkeleton_
in classArtefactHandler<CallFunction,
CallFunctionReportNode>
-
execute_
Description copied from class:ArtefactHandler
Execute the provided artefact and report the execution to the provided report node- Specified by:
execute_
in classArtefactHandler<CallFunction,
CallFunctionReportNode> - Parameters:
node
- theReportNode
corresponding to the artefacttestArtefact
- theAbstractArtefact
to be executed- Throws:
Exception
-
callChildrenArtefacts
-
createReportNode_
Description copied from class:ArtefactHandler
Creates theReportNode
corresponding to the provided artefact- Specified by:
createReportNode_
in classArtefactHandler<CallFunction,
CallFunctionReportNode> - Parameters:
parentNode
- the parentReportNode
testArtefact
- the artefact to create the node for- Returns:
-