Package step.artefacts.handlers
Class AssertHandler
java.lang.Object
step.core.artefacts.handlers.ArtefactHandler<Assert,AssertReportNode>
step.artefacts.handlers.AssertHandler
-
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
-
Method Summary
Modifier and TypeMethodDescriptioncreateReportNode_
(ReportNode parentNode, Assert artefact) Creates theReportNode
corresponding to the provided artefactprotected void
createReportSkeleton_
(AssertReportNode parentNode, Assert artefact) protected void
execute_
(AssertReportNode node, Assert artefact) Execute the provided artefact and report the execution to the provided report nodestatic final String
valueToString
(Object value) 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, pruneReportBranch, releaseTokens, removeErrorContributionsInReportBranch
-
Constructor Details
-
AssertHandler
public AssertHandler()
-
-
Method Details
-
createReportSkeleton_
- Specified by:
createReportSkeleton_
in classArtefactHandler<Assert,
AssertReportNode>
-
execute_
Description copied from class:ArtefactHandler
Execute the provided artefact and report the execution to the provided report node- Specified by:
execute_
in classArtefactHandler<Assert,
AssertReportNode> - Parameters:
node
- theReportNode
corresponding to the artefactartefact
- theAbstractArtefact
to be executed
-
valueToString
-
createReportNode_
Description copied from class:ArtefactHandler
Creates theReportNode
corresponding to the provided artefact- Specified by:
createReportNode_
in classArtefactHandler<Assert,
AssertReportNode> - Parameters:
parentNode
- the parentReportNode
artefact
- the artefact to create the node for- Returns:
-