public abstract class AbstractScenarioRunner
extends org.junit.runner.Runner
| Modifier and Type | Field and Description |
|---|---|
protected ClassLoader |
classLoader |
protected org.junit.runner.Description |
desc |
protected ExpressionEvaluatorFactory |
expressionEvaluatorFactory |
protected org.kie.api.runtime.KieContainer |
kieContainer |
protected ScenarioRunnerDTO |
scenarioRunnerDTO |
protected SimulationRunMetadataBuilder |
simulationRunMetadataBuilder |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractScenarioRunner(org.kie.api.runtime.KieContainer kieContainer,
ScenarioRunnerDTO scenarioRunnerDTO,
ExpressionEvaluatorFactory expressionEvaluatorFactory) |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader() |
org.junit.runner.Description |
getDescription() |
static org.junit.runner.Description |
getDescriptionForScenario(Optional<String> fullFileName,
int index,
String description) |
static org.junit.runner.Description |
getDescriptionForSimulation(Optional<String> fullFileName,
List<ScenarioWithIndex> scenarios) |
Optional<String> |
getFilePath() |
org.kie.api.runtime.KieContainer |
getKieContainer() |
Optional<SimulationRunMetadata> |
getLastRunResultMetadata() |
static String |
getScesimFileName(String fileFullPath) |
static ScenarioRunnerProvider |
getSpecificRunnerProvider(ScenarioSimulationModel.Type type) |
protected void |
internalRunScenario(ScenarioWithIndex scenarioWithIndex,
ScenarioRunnerData scenarioRunnerData,
Settings settings,
Background background) |
protected abstract AbstractRunnerHelper |
newRunnerHelper() |
void |
run(org.junit.runner.notification.RunNotifier notifier) |
protected Optional<ScenarioResultMetadata> |
singleRunScenario(ScenarioWithIndex scenarioWithIndex,
org.junit.runner.notification.RunNotifier runNotifier,
Settings settings,
Background background) |
protected final ClassLoader classLoader
protected final ExpressionEvaluatorFactory expressionEvaluatorFactory
protected final org.junit.runner.Description desc
protected final org.kie.api.runtime.KieContainer kieContainer
protected final ScenarioRunnerDTO scenarioRunnerDTO
protected SimulationRunMetadataBuilder simulationRunMetadataBuilder
protected AbstractScenarioRunner(org.kie.api.runtime.KieContainer kieContainer,
ScenarioRunnerDTO scenarioRunnerDTO,
ExpressionEvaluatorFactory expressionEvaluatorFactory)
public static org.junit.runner.Description getDescriptionForSimulation(Optional<String> fullFileName, List<ScenarioWithIndex> scenarios)
public static org.junit.runner.Description getDescriptionForScenario(Optional<String> fullFileName, int index, String description)
public static ScenarioRunnerProvider getSpecificRunnerProvider(ScenarioSimulationModel.Type type)
public void run(org.junit.runner.notification.RunNotifier notifier)
run in class org.junit.runner.Runnerpublic org.junit.runner.Description getDescription()
getDescription in interface org.junit.runner.DescribablegetDescription in class org.junit.runner.Runnerprotected Optional<ScenarioResultMetadata> singleRunScenario(ScenarioWithIndex scenarioWithIndex, org.junit.runner.notification.RunNotifier runNotifier, Settings settings, Background background)
protected void internalRunScenario(ScenarioWithIndex scenarioWithIndex, ScenarioRunnerData scenarioRunnerData, Settings settings, Background background)
public ClassLoader getClassLoader()
public org.kie.api.runtime.KieContainer getKieContainer()
public Optional<SimulationRunMetadata> getLastRunResultMetadata()
protected abstract AbstractRunnerHelper newRunnerHelper()
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.