Package step.artefacts.handlers
Class SequentialArtefactScheduler
- java.lang.Object
-
- step.artefacts.handlers.SequentialArtefactScheduler
-
public class SequentialArtefactScheduler extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SequentialArtefactScheduler(ExecutionContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createReportSkeleton_(ReportNode node, AbstractArtefact testArtefact)
void
execute_(ReportNode node, AbstractArtefact testArtefact)
void
execute_(ReportNode reportNode, AbstractArtefact artefact, java.lang.Boolean continueSequenceOnError)
ReportNode
executeWithinBeforeAndAfter(AbstractArtefact artefact, ReportNode reportNode, java.util.function.Function<java.util.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.ReportNode
executeWithinBeforeAndAfter(AbstractArtefact artefact, ReportNode reportNode, java.util.function.Function<java.util.List<AbstractArtefact>,ReportNode> consumer, java.lang.Class<? extends AbstractArtefact> beforeClass, java.lang.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 Detail
-
SequentialArtefactScheduler
public SequentialArtefactScheduler(ExecutionContext context)
-
-
Method Detail
-
createReportSkeleton_
public void createReportSkeleton_(ReportNode node, AbstractArtefact testArtefact)
-
execute_
public void execute_(ReportNode node, AbstractArtefact testArtefact)
-
executeWithinBeforeAndAfter
public ReportNode executeWithinBeforeAndAfter(AbstractArtefact artefact, ReportNode reportNode, java.util.function.Function<java.util.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, java.util.function.Function<java.util.List<AbstractArtefact>,ReportNode> consumer, java.lang.Class<? extends AbstractArtefact> beforeClass, java.lang.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, java.lang.Boolean continueSequenceOnError)
-
-