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