public class SequentialArtefactScheduler extends Object
Constructor and Description |
---|
SequentialArtefactScheduler(ExecutionContext context) |
Modifier and Type | Method and Description |
---|---|
void |
createReportSkeleton_(ReportNode node,
AbstractArtefact testArtefact) |
void |
execute_(ReportNode node,
AbstractArtefact testArtefact) |
void |
execute_(ReportNode reportNode,
AbstractArtefact artefact,
Boolean continueOnError) |
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.
|
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.
|
public SequentialArtefactScheduler(ExecutionContext context)
public void createReportSkeleton_(ReportNode node, AbstractArtefact testArtefact)
public void execute_(ReportNode node, AbstractArtefact testArtefact)
public ReportNode executeWithinBeforeAndAfter(AbstractArtefact artefact, ReportNode reportNode, Function<List<AbstractArtefact>,ReportNode> consumer)
artefact
- the artefact to be executedreportNode
- the ReportNode
corresponding to the provided artefactconsumer
- the consumer to delegate the execution of the children artefacts without Before and AfterSequence artefactsReportNode
of the provided artefactpublic ReportNode executeWithinBeforeAndAfter(AbstractArtefact artefact, ReportNode reportNode, Function<List<AbstractArtefact>,ReportNode> consumer, Class<? extends AbstractArtefact> beforeClass, Class<? extends AbstractArtefact> afterClass)
artefact
- the artefact to be executedreportNode
- the ReportNode
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 artefactspublic void execute_(ReportNode reportNode, AbstractArtefact artefact, Boolean continueOnError)
Copyright © 2020. All rights reserved.