Class Scenario


  • public class Scenario
    extends java.lang.Object
    Scenatio class fpr holding and executing steps
    • Constructor Summary

      Constructors 
      Constructor Description
      Scenario​(java.util.List<ScenarioStep> steps)  
    • Method Summary

      Modifier and Type Method Description
      (package private) boolean execute()
      Executes next step.
      java.util.List<ScenarioStep> getSteps()  
      boolean tick()
      Executes next step.
      • Methods inherited from class java.lang.Object

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

      • Scenario

        public Scenario​(java.util.List<ScenarioStep> steps)
    • Method Detail

      • execute

        boolean execute()
        Executes next step.
        Returns:
        scenario has steps
      • tick

        public boolean tick()
        Executes next step.
        Returns:
        scenario has steps