Package step.artefacts.handlers
Class ReturnHandler
- java.lang.Object
-
- step.core.artefacts.handlers.ArtefactHandler<Return,ReportNode>
-
- step.artefacts.handlers.ReturnHandler
-
public class ReturnHandler extends ArtefactHandler<Return,ReportNode>
-
-
Field Summary
Fields Modifier and Type Field Description protected DynamicJsonObjectResolver
dynamicJsonObjectResolver
-
Fields inherited from class step.core.artefacts.handlers.ArtefactHandler
context, FILE_VARIABLE_PREFIX, logger, TEC_EXECUTION_REPORTNODES_PERSISTAFTER, TEC_EXECUTION_REPORTNODES_PERSISTBEFORE, TEC_EXECUTION_REPORTNODES_PERSISTONLYNONPASSED
-
-
Constructor Summary
Constructors Constructor Description ReturnHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportNode
createReportNode_(ReportNode parentNode, Return testArtefact)
Creates theReportNode
corresponding to the provided artefactprotected void
createReportSkeleton_(ReportNode parentNode, Return testArtefact)
protected void
execute_(ReportNode node, Return 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, releaseTokens, removeReportNode
-
-
-
-
Field Detail
-
dynamicJsonObjectResolver
protected DynamicJsonObjectResolver dynamicJsonObjectResolver
-
-
Method Detail
-
init
public void init(ExecutionContext context)
- Overrides:
init
in classArtefactHandler<Return,ReportNode>
-
createReportSkeleton_
protected void createReportSkeleton_(ReportNode parentNode, Return testArtefact)
- Specified by:
createReportSkeleton_
in classArtefactHandler<Return,ReportNode>
-
execute_
protected void execute_(ReportNode node, Return testArtefact)
Description copied from class:ArtefactHandler
Execute the provided artefact and report the execution to the provided report node- Specified by:
execute_
in classArtefactHandler<Return,ReportNode>
- Parameters:
node
- theReportNode
corresponding to the artefacttestArtefact
- theAbstractArtefact
to be executed
-
createReportNode_
public ReportNode createReportNode_(ReportNode parentNode, Return testArtefact)
Description copied from class:ArtefactHandler
Creates theReportNode
corresponding to the provided artefact- Specified by:
createReportNode_
in classArtefactHandler<Return,ReportNode>
- Parameters:
parentNode
- the parentReportNode
testArtefact
- the artefact to create the node for- Returns:
-
-