Package step.artefacts.handlers
Class CaseHandler
- java.lang.Object
-
- step.core.artefacts.handlers.ArtefactHandler<Case,ReportNode>
-
- step.artefacts.handlers.CaseHandler
-
public class CaseHandler extends ArtefactHandler<Case,ReportNode>
-
-
Field Summary
-
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 CaseHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportNode
createReportNode_(ReportNode parentNode, Case testArtefact)
Creates theReportNode
corresponding to the provided artefactprotected void
createReportSkeleton_(ReportNode parentNode, Case testArtefact)
protected void
execute_(ReportNode node, Case testArtefact)
Execute the provided artefact and report the execution to the provided report node-
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, init, initProperties, isInSession, releaseTokens, removeReportNode
-
-
-
-
Method Detail
-
createReportSkeleton_
protected void createReportSkeleton_(ReportNode parentNode, Case testArtefact)
- Specified by:
createReportSkeleton_
in classArtefactHandler<Case,ReportNode>
-
execute_
protected void execute_(ReportNode node, Case testArtefact)
Description copied from class:ArtefactHandler
Execute the provided artefact and report the execution to the provided report node- Specified by:
execute_
in classArtefactHandler<Case,ReportNode>
- Parameters:
node
- theReportNode
corresponding to the artefacttestArtefact
- theAbstractArtefact
to be executed
-
createReportNode_
public ReportNode createReportNode_(ReportNode parentNode, Case testArtefact)
Description copied from class:ArtefactHandler
Creates theReportNode
corresponding to the provided artefact- Specified by:
createReportNode_
in classArtefactHandler<Case,ReportNode>
- Parameters:
parentNode
- the parentReportNode
testArtefact
- the artefact to create the node for- Returns:
-
-