Package step.artefacts.handlers
Class WhileHandler
java.lang.Object
step.core.artefacts.handlers.ArtefactHandler<While,WhileReportNode>
step.artefacts.handlers.WhileHandler
-
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 -
Method Summary
Modifier and TypeMethodDescriptioncreateReportNode_(ReportNode parentNode, While testArtefact) Creates theReportNodecorresponding to the provided artefactprotected voidcreateReportSkeleton_(WhileReportNode parentNode, While testArtefact) protected voidexecute_(WhileReportNode node, While testArtefact) Execute the provided artefact and report the execution to the provided report nodeprotected booleanreevaluateCondition(DynamicValueResolver resolver, DynamicValue<Boolean> condition) 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
-
WhileHandler
public WhileHandler()
-
-
Method Details
-
createReportSkeleton_
- Specified by:
createReportSkeleton_in classArtefactHandler<While,WhileReportNode>
-
execute_
Description copied from class:ArtefactHandlerExecute the provided artefact and report the execution to the provided report node- Specified by:
execute_in classArtefactHandler<While,WhileReportNode> - Parameters:
node- theReportNodecorresponding to the artefacttestArtefact- theAbstractArtefactto be executed
-
reevaluateCondition
protected boolean reevaluateCondition(DynamicValueResolver resolver, DynamicValue<Boolean> condition) -
createReportNode_
Description copied from class:ArtefactHandlerCreates theReportNodecorresponding to the provided artefact- Specified by:
createReportNode_in classArtefactHandler<While,WhileReportNode> - Parameters:
parentNode- the parentReportNodetestArtefact- the artefact to create the node for- Returns:
-