Class ScenarioRunner


  • public class ScenarioRunner
    extends java.lang.Object
    Author:
    Thorben Lindhauer
    • 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 them
      protected 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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)
      • setupScenario

        protected void setupScenario​(java.util.Map<java.lang.String,​Scenario> scenarios,
                                     Scenario scenario)