Class SequentialArtefactScheduler

java.lang.Object
step.artefacts.handlers.SequentialArtefactScheduler

public class SequentialArtefactScheduler extends Object
  • Constructor Details

    • SequentialArtefactScheduler

      public SequentialArtefactScheduler(ExecutionContext context)
  • Method Details

    • createReportSkeleton_

      public void createReportSkeleton_(ReportNode node, AbstractArtefact testArtefact)
    • execute_

      public void execute_(ReportNode node, AbstractArtefact testArtefact)
    • 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 executed
      reportNode - the ReportNode corresponding to the provided artefact
      consumer - 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 executed
      reportNode - the ReportNode corresponding to the provided artefact
      consumer - the consumer to delegate the execution of the children artefacts without Before and AfterSequence artefacts
      beforeClass - the class of the before artefacts
      afterClass - the class of the after artefacts
      Returns:
    • execute_

      public void execute_(ReportNode reportNode, AbstractArtefact artefact, Boolean continueSequenceOnError)