Package step.artefacts.handlers
Class SequentialArtefactScheduler
java.lang.Object
step.artefacts.handlers.SequentialArtefactScheduler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createReportSkeleton_
(ReportNode node, AbstractArtefact testArtefact) void
execute_
(ReportNode node, AbstractArtefact testArtefact) void
execute_
(ReportNode reportNode, AbstractArtefact artefact, Boolean continueSequenceOnError) executeWithinBeforeAndAfter
(AbstractArtefact artefact, ReportNode reportNode, Function<List<AbstractArtefact>, ReportNode> consumer) Delegates the execution of the children artefacts of the provided artefact within the BeforeSequence and AfterSequence artefacts of the provided artefact.executeWithinBeforeAndAfter
(AbstractArtefact artefact, ReportNode reportNode, Function<List<AbstractArtefact>, ReportNode> consumer, Class<? extends AbstractArtefact> beforeClass, Class<? extends AbstractArtefact> afterClass) Delegates the execution of the children artefacts of the provided artefact within the Before and After artefacts of the provided artefact.
-
Constructor Details
-
SequentialArtefactScheduler
-
-
Method Details
-
createReportSkeleton_
-
execute_
-
executeWithinBeforeAndAfter
public ReportNode executeWithinBeforeAndAfter(AbstractArtefact artefact, ReportNode reportNode, Function<List<AbstractArtefact>, ReportNode> consumer) Delegates the execution of the children artefacts of the provided artefact within the BeforeSequence and AfterSequence artefacts of the provided artefact.- Parameters:
artefact
- the artefact to be executedreportNode
- theReportNode
corresponding to the provided artefactconsumer
- the consumer to delegate the execution of the children artefacts without Before and AfterSequence artefacts- Returns:
- the
ReportNode
of the provided artefact
-
executeWithinBeforeAndAfter
public ReportNode executeWithinBeforeAndAfter(AbstractArtefact artefact, ReportNode reportNode, Function<List<AbstractArtefact>, ReportNode> consumer, Class<? extends AbstractArtefact> beforeClass, Class<? extends AbstractArtefact> afterClass) Delegates the execution of the children artefacts of the provided artefact within the Before and After artefacts of the provided artefact.- Parameters:
artefact
- the artefact to be executedreportNode
- theReportNode
corresponding to the provided artefactconsumer
- the consumer to delegate the execution of the children artefacts without Before and AfterSequence artefactsbeforeClass
- the class of the before artefactsafterClass
- the class of the after artefacts- Returns:
-
execute_
public void execute_(ReportNode reportNode, AbstractArtefact artefact, Boolean continueSequenceOnError)
-