Package step.artefacts.handlers
Class AssertHandler
- java.lang.Object
-
- step.core.artefacts.handlers.ArtefactHandler<Assert,AssertReportNode>
-
- step.artefacts.handlers.AssertHandler
-
public class AssertHandler extends ArtefactHandler<Assert,AssertReportNode>
-
-
Field Summary
-
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 AssertHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssertReportNodecreateReportNode_(ReportNode parentNode, Assert artefact)Creates theReportNodecorresponding to the provided artefactprotected voidcreateReportSkeleton_(AssertReportNode parentNode, Assert artefact)protected voidexecute_(AssertReportNode node, Assert artefact)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_(AssertReportNode parentNode, Assert artefact)
- Specified by:
createReportSkeleton_in classArtefactHandler<Assert,AssertReportNode>
-
execute_
protected void execute_(AssertReportNode node, Assert artefact)
Description copied from class:ArtefactHandlerExecute the provided artefact and report the execution to the provided report node- Specified by:
execute_in classArtefactHandler<Assert,AssertReportNode>- Parameters:
node- theReportNodecorresponding to the artefactartefact- theAbstractArtefactto be executed
-
createReportNode_
public AssertReportNode createReportNode_(ReportNode parentNode, Assert artefact)
Description copied from class:ArtefactHandlerCreates theReportNodecorresponding to the provided artefact- Specified by:
createReportNode_in classArtefactHandler<Assert,AssertReportNode>- Parameters:
parentNode- the parentReportNodeartefact- the artefact to create the node for- Returns:
-
-