Interface CurrentScenario


  • public interface CurrentScenario
    This interface can be injected into a stage using the ScenarioState annotation. It provided programmatic access to the current scenario.
    Since:
    0.12.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addTag​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass, java.lang.String... values)
      Dynamically add a tag to the scenario.
    • Method Detail

      • addTag

        void addTag​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass,
                    java.lang.String... values)
        Dynamically add a tag to the scenario.
        Parameters:
        annotationClass - The tag annotation class to use.
        values - List of custom values.
        Since:
        0.12.0