Interface ScenarioFactory


  • @OpenApiAll
    public interface ScenarioFactory
    Knows how to construct scenarios.
    • Method Detail

      • createScenario

        @OpenApi
        Scenario createScenario​(UseCase useCase)
        Creates a scenario.
        Parameters:
        useCase - use case for which to create scenario.
        Returns:
        created scenario.
      • createScenario

        Scenario createScenario​(UseCase useCase,
                                boolean createEvents)
        Creates a scenario.
        Parameters:
        useCase - use case for which to create scenario.
        createEvents - indicates whether event propagation should be enabled for the created scenario.
        Returns:
        created scenario.