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

    Modifier and Type
    Method
    Description
    void
    addTag(Class<? extends Annotation> annotationClass, String... values)
    Dynamically add a tag to the scenario.
  • Method Details

    • addTag

      void addTag(Class<? extends Annotation> annotationClass, 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