Package org.camunda.bpm.qa.upgrade
Class ScenarioRunner
- java.lang.Object
-
- org.camunda.bpm.qa.upgrade.ScenarioRunner
-
public class ScenarioRunner extends java.lang.Object
- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected ProcessEngine
engine
protected java.lang.String
engineVersion
-
Constructor Summary
Constructors Constructor Description ScenarioRunner(ProcessEngine engine, java.lang.String engineVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
createScenarioName(java.lang.Class<?> declaringClass, java.lang.String name)
protected void
executeScenarioSetups(java.lang.Class<?> clazz)
Scans for all scenarios defined in the class and runs themprotected void
performDeployments(java.lang.Class<?> clazz)
protected void
setupScenario(java.util.Map<java.lang.String,Scenario> scenarios, Scenario scenario)
void
setupScenarios(java.lang.Class<?> clazz)
-
-
-
Field Detail
-
engine
protected ProcessEngine engine
-
engineVersion
protected java.lang.String engineVersion
-
-
Constructor Detail
-
ScenarioRunner
public ScenarioRunner(ProcessEngine engine, java.lang.String engineVersion)
-
-
Method Detail
-
setupScenarios
public void setupScenarios(java.lang.Class<?> clazz)
-
performDeployments
protected void performDeployments(java.lang.Class<?> clazz)
-
executeScenarioSetups
protected void executeScenarioSetups(java.lang.Class<?> clazz)
Scans for all scenarios defined in the class and runs them
-
createScenarioName
protected java.lang.String createScenarioName(java.lang.Class<?> declaringClass, java.lang.String name)
-
-