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 DynamicJsonObjectResolverdynamicJsonObjectResolverprotected PlanLocatorplanLocator-
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 ReportNodecreateReportNode_(ReportNode parentNode, CallPlan testArtefact)Creates theReportNodecorresponding to the provided artefactprotected voidcreateReportSkeleton_(ReportNode parentNode, CallPlan testArtefact)protected voidexecute_(ReportNode node, CallPlan testArtefact)Execute the provided artefact and report the execution to the provided report nodevoidinit(ExecutionContext context)protected PlanselectPlan(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:
initin 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:ArtefactHandlerExecute the provided artefact and report the execution to the provided report node- Specified by:
execute_in classArtefactHandler<CallPlan,ReportNode>- Parameters:
node- theReportNodecorresponding to the artefacttestArtefact- theAbstractArtefactto be executed
-
createReportNode_
public ReportNode createReportNode_(ReportNode parentNode, CallPlan testArtefact)
Description copied from class:ArtefactHandlerCreates theReportNodecorresponding to the provided artefact- Specified by:
createReportNode_in classArtefactHandler<CallPlan,ReportNode>- Parameters:
parentNode- the parentReportNodetestArtefact- the artefact to create the node for- Returns:
-
-