@ApplicationScoped public class ScenarioRunnerServiceImpl extends AbstractKieContainerService implements ScenarioRunnerService
Constructor and Description |
---|
ScenarioRunnerServiceImpl() |
Modifier and Type | Method and Description |
---|---|
BiFunction<org.kie.api.runtime.KieContainer,Simulation,AbstractScenarioRunner> |
getOrCreateRunnerSupplier(Simulation simulation) |
void |
runAllTests(String identifier,
org.uberfire.backend.vfs.Path path) |
void |
runAllTests(String identifier,
org.uberfire.backend.vfs.Path path,
javax.enterprise.event.Event<org.guvnor.common.services.shared.test.TestResultMessage> customTestResultEvent) |
ScenarioSimulationModel |
runTest(String identifier,
org.uberfire.backend.vfs.Path path,
ScenarioSimulationModel model) |
void |
setRunnerSupplier(BiFunction<org.kie.api.runtime.KieContainer,Simulation,AbstractScenarioRunner> runnerSupplier) |
getKieContainer
public void runAllTests(String identifier, org.uberfire.backend.vfs.Path path)
runAllTests
in interface org.guvnor.common.services.shared.test.TestService
public void runAllTests(String identifier, org.uberfire.backend.vfs.Path path, javax.enterprise.event.Event<org.guvnor.common.services.shared.test.TestResultMessage> customTestResultEvent)
runAllTests
in interface org.guvnor.common.services.shared.test.TestService
public ScenarioSimulationModel runTest(String identifier, org.uberfire.backend.vfs.Path path, ScenarioSimulationModel model)
runTest
in interface ScenarioRunnerService
public BiFunction<org.kie.api.runtime.KieContainer,Simulation,AbstractScenarioRunner> getOrCreateRunnerSupplier(Simulation simulation)
public void setRunnerSupplier(BiFunction<org.kie.api.runtime.KieContainer,Simulation,AbstractScenarioRunner> runnerSupplier)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.