Class ScenarioRunnerServiceImpl

  • All Implemented Interfaces:
    org.drools.workbench.screens.scenariosimulation.service.ScenarioRunnerService, org.guvnor.common.services.shared.test.TestService

    @ApplicationScoped
    public class ScenarioRunnerServiceImpl
    extends AbstractKieContainerService
    implements org.drools.workbench.screens.scenariosimulation.service.ScenarioRunnerService
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.drools.scenariosimulation.backend.runner.ScenarioRunnerProvider getOrCreateRunnerSupplier​(org.drools.scenariosimulation.api.model.ScenarioSimulationModel.Type type)  
      List<org.guvnor.common.services.shared.test.TestResultMessage> runAllTests​(String identifier, org.uberfire.backend.vfs.Path path)  
      org.drools.workbench.screens.scenariosimulation.model.SimulationRunResult runTest​(String identifier, org.uberfire.backend.vfs.Path path, org.drools.scenariosimulation.api.model.ScesimModelDescriptor simulationDescriptor, List<org.drools.scenariosimulation.api.model.ScenarioWithIndex> scenarios, org.drools.scenariosimulation.api.model.Settings settings, org.drools.scenariosimulation.api.model.Background background)  
      void setRunnerSupplier​(org.drools.scenariosimulation.backend.runner.ScenarioRunnerProvider runnerSupplier)  
    • Constructor Detail

      • ScenarioRunnerServiceImpl

        public ScenarioRunnerServiceImpl()
    • Method Detail

      • runAllTests

        public List<org.guvnor.common.services.shared.test.TestResultMessage> runAllTests​(String identifier,
                                                                                          org.uberfire.backend.vfs.Path path)
        Specified by:
        runAllTests in interface org.guvnor.common.services.shared.test.TestService
      • runTest

        public org.drools.workbench.screens.scenariosimulation.model.SimulationRunResult runTest​(String identifier,
                                                                                                 org.uberfire.backend.vfs.Path path,
                                                                                                 org.drools.scenariosimulation.api.model.ScesimModelDescriptor simulationDescriptor,
                                                                                                 List<org.drools.scenariosimulation.api.model.ScenarioWithIndex> scenarios,
                                                                                                 org.drools.scenariosimulation.api.model.Settings settings,
                                                                                                 org.drools.scenariosimulation.api.model.Background background)
        Specified by:
        runTest in interface org.drools.workbench.screens.scenariosimulation.service.ScenarioRunnerService
      • getOrCreateRunnerSupplier

        public org.drools.scenariosimulation.backend.runner.ScenarioRunnerProvider getOrCreateRunnerSupplier​(org.drools.scenariosimulation.api.model.ScenarioSimulationModel.Type type)
      • setRunnerSupplier

        public void setRunnerSupplier​(org.drools.scenariosimulation.backend.runner.ScenarioRunnerProvider runnerSupplier)